#0A172E#0A172E
#0A172E is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.7% C 0.049 H 261.0°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).
Color values
| HEX | #0A172E |
|---|---|
| RGB | rgb(10, 23, 46) |
| HSL | hsl(218, 64%, 11%) |
| HSV | hsv(218, 78%, 18%) |
| CMYK | cmyk(78.3%, 50%, 0%, 82%) |
| CIE-LAB | lab(7.90, 3.72, -17.15) |
| CIE-LCH | lch(7.90, 17.55, 282.23°) |
| OKLab | oklab(20.72% -0.0078 -0.0488) |
| OKLCH | oklch(20.72% 0.049 261) |
| XYZ | xyz(0.9245, 0.8745, 2.7043) |
| Luminance | 0.0088 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.80
Navy Blue
#1B2A4A
ΔE00 6.59
Dark Navy Blue
#00022E
ΔE00 6.79
Dark
#1B2431
ΔE00 6.89
Midnight
#03012D
ΔE00 7.16
Dark Navy
#000435
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0A172E #2E210A
analogous
#0A292E #0A172E #0F0A2E
triadic
#0A172E #2E0A17 #172E0A
tetradic
#0A172E #2E0A29 #2E210A #0A2E0F
square
#0A172E #2E0A29 #2E210A #0A2E0F
split-complementary
#0A172E #2E0F0A #292E0A
monochromatic
#050D19 #050D19 #0A172E #153060 #204993
Accessibility & contrast
On white
17.87
#0A172E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#0A172E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0A172E
17.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0A172E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0A172E | 1.00 | 17.87 | 1.18 | 17.87 |
| #FFFFFF | 17.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D192F
Deuteranopia (green-blind)
#07162E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #0a172e; /* rgb */ color: rgb(10, 23, 46); /* oklch */ color: oklch(20.7% 0.049 261.0);
Tailwind
colors: {
custom: {
50: '#4e5367',
500: '#0a172e',
950: '#000000',
},
}SCSS
$custom: #0a172e; $custom-light: #4e5367; $custom-dark: #000000;
JSON
{
"hex": "#0a172e",
"rgb": {
"r": 10,
"g": 23,
"b": 46
},
"hsl": {
"h": 218.333,
"s": 64.286,
"l": 10.98
},
"oklch": {
"l": 0.20718,
"c": 0.04946,
"h": 261
},
"luminance": 0.00875
}Semantic roles & 50–950 ramp
primary
#0A172E
secondary
#6B5329
accent
#AB41E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A