Nearest named color · #020B54
#020B54
Nearest named color: Interstellar Blue
#020B54 (rgb(2 11 84), hsl(233 95% 17%), oklch(0.219 0.128 265.3)) is closest to the named color Interstellar Blue. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#020B54
oklch(0.219 0.128 265.3)
Color conversions
- HEX
- #020b54
- RGB
- rgb(2 11 84)
- HSL
- hsl(233 95% 17%)
- HWB
- hwb(233 1% 67%)
- OKLCH
- oklch(0.219 0.128 265.3)
- OKLab
- oklab(0.219 -0.01 -0.127)
- CIE Lab
- lab(7.14 22.91 -45.23)
- LCH
- lch(7.14 50.7 296.9)
- CMYK
- cmyk(98% 87% 0% 67%)
Tints · Shades · Tones
Tints
- 102665
- 263D77
- 3E5488
- 576B99
- 7183AA
- 8B9BBB
- A7B3CC
- C4CCDD
- E1E5EE
Shades
- 010848
- 01063C
- 010431
- 000226
- 00011B
- 000111
- 000008
- 000002
- 000000
Tones
- 081B5A
- 13285F
- 1F3364
- 2C3E69
- 39496D
- 475471
- 555F75
- 636A79
- 71757D
Color harmonies
Complementary +180°
- 020B54
Interstellar Blue
- 241800
≈ Cannon Black
Analogous -30° +30°
- 020B54
Interstellar Blue
- 001D2D
≈ Oxford by Night
- 22004A
≈ Your Darkness
Triadic +120° +240°
- 020B54
Interstellar Blue
- 3A0003
≈ Dark Maroon
- 002204
≈ Rainforest Nights
Split-complementary +150° +210°
- 020B54
Interstellar Blue
- 2D1200
≈ Shadow Play
- 1A1D00
≈ Yuzu Soy
Tetradic +90° +180° +270°
- 020B54
Interstellar Blue
- 37001C
≈ Rhodophobia
- 241800
≈ Cannon Black
- 002019
≈ Stellar Explorer
Contrast & accessibility
Ag
AAAOn white
WCAG 17.81:1 · APCA Lc 104
Ag
FailOn black
WCAG 1.17:1 · APCA Lc 0
Best text color: #FFFFFF
WCAG 17.81:1 (AAA) · APCA Lc 104
Contrast pairs
Code snippets
CSS
:root {
--interstellar-blue: #020b54;
--interstellar-blue-rgb: 2 11 84;
--interstellar-blue-oklch: oklch(0.219 0.128 265.3);
}
.element {
color: var(--interstellar-blue);
background-color: hsl(233 95% 17%);
border-color: oklch(0.219 0.128 265.3);
}Tailwind CSS v4
@theme {
--color-interstellar-blue: #020b54;
--color-interstellar-blue-50: #e5f5ff;
--color-interstellar-blue-100: #d5e7ff;
--color-interstellar-blue-200: #bcd3ff;
--color-interstellar-blue-300: #9ab6f9;
--color-interstellar-blue-400: #7a9cea;
--color-interstellar-blue-500: #5d82da;
--color-interstellar-blue-600: #4f6eb8;
--color-interstellar-blue-700: #3f5894;
--color-interstellar-blue-800: #2b416e;
--color-interstellar-blue-900: #1d2d4e;
--color-interstellar-blue-950: #0d1934;
}SCSS
$interstellar-blue: #020b54;
$interstellar-blue-rgb: 2, 11, 84;
$interstellar-blue-light: mix(#fff, $interstellar-blue, 20%);
$interstellar-blue-dark: mix(#000, $interstellar-blue, 20%);
.element {
color: $interstellar-blue;
box-shadow: 0 0 0 2px rgba($interstellar-blue, 0.35);
}