#0F172C#0F172C
#0F172C is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.9% C 0.043 H 266.9°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).
Color values
| HEX | #0F172C |
|---|---|
| RGB | rgb(15, 23, 44) |
| HSL | hsl(223, 49%, 12%) |
| HSV | hsv(223, 66%, 17%) |
| CMYK | cmyk(65.9%, 47.7%, 0%, 82.7%) |
| CIE-LAB | lab(8.09, 4.15, -15.34) |
| CIE-LCH | lch(8.09, 15.89, 285.13°) |
| OKLab | oklab(20.91% -0.0024 -0.0434) |
| OKLCH | oklch(20.91% 0.043 266.9) |
| XYZ | xyz(0.9579, 0.8961, 2.5049) |
| Luminance | 0.0090 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 6.70
Navy (survey)
#01153E
ΔE00 6.81
Navy Blue
#1B2A4A
ΔE00 7.05
Dark Navy Blue
#00022E
ΔE00 7.37
Midnight
#03012D
ΔE00 7.57
Dark Navy
#000435
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F172C #2C240F
analogous
#0F262C #0F172C #160F2C
triadic
#0F172C #2C0F17 #172C0F
tetradic
#0F172C #2C0F26 #2C240F #0F2C16
square
#0F172C #2C0F26 #2C240F #0F2C16
split-complementary
#0F172C #2C160F #262C0F
monochromatic
#080C17 #080C17 #0F172C #1F2F5A #2E4787
Accessibility & contrast
On white
17.81
#0F172C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#0F172C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F172C
17.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F172C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F172C | 1.00 | 17.81 | 1.18 | 17.81 |
| #FFFFFF | 17.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F192D
Deuteranopia (green-blind)
#0B172C
Tritanopia (blue-blind)
#031C1F
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #0f172c; /* rgb */ color: rgb(15, 23, 44); /* oklch */ color: oklch(20.9% 0.043 266.9);
Tailwind
colors: {
custom: {
50: '#505365',
500: '#0f172c',
950: '#000000',
},
}SCSS
$custom: #0f172c; $custom-light: #505365; $custom-dark: #000000;
JSON
{
"hex": "#0f172c",
"rgb": {
"r": 15,
"g": 23,
"b": 44
},
"hsl": {
"h": 223.448,
"s": 49.153,
"l": 11.569
},
"oklch": {
"l": 0.20914,
"c": 0.04349,
"h": 266.9
},
"luminance": 0.00896
}Semantic roles & 50–950 ramp
primary
#0F172C
secondary
#655731
accent
#B34FD9
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020205
muted
#78787A