#0B172A#0B172A
#0B172A is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.5% C 0.042 H 259.2°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).
Color values
| HEX | #0B172A |
|---|---|
| RGB | rgb(11, 23, 42) |
| HSL | hsl(217, 58%, 10%) |
| HSV | hsv(217, 74%, 16%) |
| CMYK | cmyk(73.8%, 45.2%, 0%, 83.5%) |
| CIE-LAB | lab(7.69, 2.18, -14.52) |
| CIE-LCH | lch(7.69, 14.68, 278.54°) |
| OKLab | oklab(20.48% -0.0078 -0.0411) |
| OKLCH | oklch(20.48% 0.042 259.2) |
| XYZ | xyz(0.8622, 0.8510, 2.3089) |
| Luminance | 0.0085 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.44
Navy Blue
#1B2A4A
ΔE00 7.52
Navy (survey)
#01153E
ΔE00 7.53
Dark Navy Blue
#00022E
ΔE00 8.37
Midnight
#03012D
ΔE00 8.73
Dark Navy
#000435
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0B172A #2A1E0B
analogous
#0B262A #0B172A #0E0B2A
triadic
#0B172A #2A0B17 #172A0B
tetradic
#0B172A #2A0B26 #2A1E0B #0B2A0E
square
#0B172A #2A0B26 #2A1E0B #0B2A0E
split-complementary
#0B172A #2A0E0B #262A0B
monochromatic
#060D18 #060D18 #0B172A #18325A #244C8B
Accessibility & contrast
On white
17.95
#0B172A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#0B172A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0B172A
17.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0B172A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0B172A | 1.00 | 17.95 | 1.17 | 17.95 |
| #FFFFFF | 17.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F182B
Deuteranopia (green-blind)
#0B162A
Tritanopia (blue-blind)
#001B1E
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #0b172a; /* rgb */ color: rgb(11, 23, 42); /* oklch */ color: oklch(20.5% 0.042 259.2);
Tailwind
colors: {
custom: {
50: '#4d5363',
500: '#0b172a',
950: '#000000',
},
}SCSS
$custom: #0b172a; $custom-light: #4d5363; $custom-dark: #000000;
JSON
{
"hex": "#0b172a",
"rgb": {
"r": 11,
"g": 23,
"b": 42
},
"hsl": {
"h": 216.774,
"s": 58.491,
"l": 10.392
},
"oklch": {
"l": 0.20477,
"c": 0.04188,
"h": 259.2
},
"luminance": 0.00851
}Semantic roles & 50–950 ramp
primary
#0B172A
secondary
#664F2B
accent
#A546E2
background
#F4F4F5
surface
#E7E7EA
border
#C3C3C6
text
#010205
muted
#777879