#0F173C#0F173C
#0F173C is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.2% C 0.072 H 270.4°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).
Color values
| HEX | #0F173C |
|---|---|
| RGB | rgb(15, 23, 60) |
| HSL | hsl(229, 60%, 15%) |
| HSV | hsv(229, 75%, 24%) |
| CMYK | cmyk(75%, 61.7%, 0%, 76.5%) |
| CIE-LAB | lab(9.32, 10.99, -25.00) |
| CIE-LCH | lch(9.32, 27.31, 293.73°) |
| OKLab | oklab(22.25% 0.0005 -0.0718) |
| OKLCH | oklch(22.25% 0.072 270.4) |
| XYZ | xyz(1.3187, 1.0405, 4.4054) |
| Luminance | 0.0104 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 2.32
Dark Navy Blue
#00022E
ΔE00 4.35
Navy Blue (survey)
#001146
ΔE00 4.43
Dark Navy
#000435
ΔE00 4.44
Midnight
#03012D
ΔE00 4.45
Very Dark Blue
#000133
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F173C #3C340F
analogous
#0F2E3C #0F173C #1D0F3C
triadic
#0F173C #3C0F17 #173C0F
tetradic
#0F173C #3C0F2E #3C340F #0F3C1D
square
#0F173C #3C0F2E #3C340F #0F3C1D
split-complementary
#0F173C #3C1D0F #2E3C0F
monochromatic
#060918 #060918 #0F173C #1B2A6D #273D9E
Accessibility & contrast
On white
17.38
#0F173C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.21
#0F173C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F173C
17.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F173C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F173C | 1.00 | 17.38 | 1.21 | 17.38 |
| #FFFFFF | 17.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#021C3D
Deuteranopia (green-blind)
#00183B
Tritanopia (blue-blind)
#002026
Achromatopsia (no color)
#1A1A1A
Design tokens & code
CSS
--color: #0f173c; /* rgb */ color: rgb(15, 23, 60); /* oklch */ color: oklch(22.2% 0.072 270.4);
Tailwind
colors: {
custom: {
50: '#545372',
500: '#0f173c',
950: '#000000',
},
}SCSS
$custom: #0f173c; $custom-light: #545372; $custom-dark: #000000;
JSON
{
"hex": "#0f173c",
"rgb": {
"r": 15,
"g": 23,
"b": 60
},
"hsl": {
"h": 229.333,
"s": 60,
"l": 14.706
},
"oklch": {
"l": 0.22247,
"c": 0.0718,
"h": 270.4
},
"luminance": 0.01041
}Semantic roles & 50–950 ramp
primary
#0F173C
secondary
#766A30
accent
#C745E3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B