#0A172B#0A172B
#0A172B is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.5% C 0.044 H 258.7°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).
Color values
| HEX | #0A172B |
|---|---|
| RGB | rgb(10, 23, 43) |
| HSL | hsl(216, 62%, 10%) |
| HSV | hsv(216, 77%, 17%) |
| CMYK | cmyk(76.7%, 46.5%, 0%, 83.1%) |
| CIE-LAB | lab(7.69, 2.36, -15.25) |
| CIE-LCH | lch(7.69, 15.44, 278.81°) |
| OKLab | oklab(20.49% -0.0086 -0.0433) |
| OKLCH | oklch(20.49% 0.044 258.7) |
| XYZ | xyz(0.8675, 0.8517, 2.4037) |
| Luminance | 0.0085 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.73
Navy (survey)
#01153E
ΔE00 7.08
Navy Blue
#1B2A4A
ΔE00 7.27
Dark Navy Blue
#00022E
ΔE00 8.00
Midnight
#03012D
ΔE00 8.39
Dark Navy
#000435
ΔE00 8.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0A172B #2B1E0A
analogous
#0A272B #0A172B #0E0A2B
triadic
#0A172B #2B0A17 #172B0A
tetradic
#0A172B #2B0A27 #2B1E0A #0A2B0E
square
#0A172B #2B0A27 #2B1E0A #0A2B0E
split-complementary
#0A172B #2B0E0A #272B0A
monochromatic
#060D19 #060D19 #0A172B #16325D #214C8E
Accessibility & contrast
On white
17.94
#0A172B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#0A172B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0A172B
17.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0A172B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0A172B | 1.00 | 17.94 | 1.17 | 17.94 |
| #FFFFFF | 17.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E192C
Deuteranopia (green-blind)
#0A152B
Tritanopia (blue-blind)
#001C1E
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #0a172b; /* rgb */ color: rgb(10, 23, 43); /* oklch */ color: oklch(20.5% 0.044 258.7);
Tailwind
colors: {
custom: {
50: '#4d5364',
500: '#0a172b',
950: '#000000',
},
}SCSS
$custom: #0a172b; $custom-light: #4d5364; $custom-dark: #000000;
JSON
{
"hex": "#0a172b",
"rgb": {
"r": 10,
"g": 23,
"b": 43
},
"hsl": {
"h": 216.364,
"s": 62.264,
"l": 10.392
},
"oklch": {
"l": 0.20487,
"c": 0.04417,
"h": 258.7
},
"luminance": 0.00852
}Semantic roles & 50–950 ramp
primary
#0A172B
secondary
#684F29
accent
#A542E5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010205
muted
#77787A