#0F172D#0F172D
#0F172D is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.0% C 0.045 H 267.4°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).
Color values
| HEX | #0F172D |
|---|---|
| RGB | rgb(15, 23, 45) |
| HSL | hsl(224, 50%, 12%) |
| HSV | hsv(224, 67%, 18%) |
| CMYK | cmyk(66.7%, 48.9%, 0%, 82.4%) |
| CIE-LAB | lab(8.16, 4.56, -15.97) |
| CIE-LCH | lch(8.16, 16.61, 285.95°) |
| OKLab | oklab(20.99% -0.0021 -0.0453) |
| OKLCH | oklch(20.99% 0.045 267.4) |
| XYZ | xyz(0.9769, 0.9037, 2.6051) |
| Luminance | 0.0090 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 6.41
Navy Blue
#1B2A4A
ΔE00 6.89
Dark Navy Blue
#00022E
ΔE00 6.99
Dark
#1B2431
ΔE00 7.09
Midnight
#03012D
ΔE00 7.19
Dark Navy
#000435
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F172D #2D250F
analogous
#0F262D #0F172D #160F2D
triadic
#0F172D #2D0F17 #172D0F
tetradic
#0F172D #2D0F26 #2D250F #0F2D16
square
#0F172D #2D0F26 #2D250F #0F2D16
split-complementary
#0F172D #2D160F #262D0F
monochromatic
#080C17 #080C17 #0F172D #1E2E5B #2E4689
Accessibility & contrast
On white
17.78
#0F172D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#0F172D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F172D
17.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F172D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F172D | 1.00 | 17.78 | 1.18 | 17.78 |
| #FFFFFF | 17.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E192E
Deuteranopia (green-blind)
#0A172D
Tritanopia (blue-blind)
#021C1F
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #0f172d; /* rgb */ color: rgb(15, 23, 45); /* oklch */ color: oklch(21.0% 0.045 267.4);
Tailwind
colors: {
custom: {
50: '#505366',
500: '#0f172d',
950: '#000000',
},
}SCSS
$custom: #0f172d; $custom-light: #505366; $custom-dark: #000000;
JSON
{
"hex": "#0f172d",
"rgb": {
"r": 15,
"g": 23,
"b": 45
},
"hsl": {
"h": 224,
"s": 50,
"l": 11.765
},
"oklch": {
"l": 0.20988,
"c": 0.04533,
"h": 267.4
},
"luminance": 0.00904
}Semantic roles & 50–950 ramp
primary
#0F172D
secondary
#665831
accent
#B44EDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A