#0C162F#0C162F
#0C162F is a very dark, muted blue. Relative luminance 0.009; OKLCH L 20.7% C 0.052 H 265.7°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).
Color values
| HEX | #0C162F |
|---|---|
| RGB | rgb(12, 22, 47) |
| HSL | hsl(223, 59%, 12%) |
| HSV | hsv(223, 74%, 18%) |
| CMYK | cmyk(74.5%, 53.2%, 0%, 81.6%) |
| CIE-LAB | lab(7.74, 5.42, -18.13) |
| CIE-LCH | lch(7.74, 18.92, 286.65°) |
| OKLab | oklab(20.65% -0.0039 -0.0517) |
| OKLCH | oklch(20.65% 0.052 265.7) |
| XYZ | xyz(0.9514, 0.8571, 2.8041) |
| Luminance | 0.0086 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.11
Dark Navy Blue
#00022E
ΔE00 5.78
Midnight
#03012D
ΔE00 6.03
Navy Blue
#1B2A4A
ΔE00 6.69
Dark Navy
#000435
ΔE00 6.83
Very Dark Blue
#000133
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C162F #2F250C
analogous
#0C282F #0C162F #140C2F
triadic
#0C162F #2F0C16 #162F0C
tetradic
#0C162F #2F0C28 #2F250C #0C2F14
square
#0C162F #2F0C28 #2F250C #0C2F14
split-complementary
#0C162F #2F140C #282F0C
monochromatic
#060B18 #060B18 #0C162F #182D60 #254491
Accessibility & contrast
On white
17.93
#0C162F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#0C162F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C162F
17.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C162F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C162F | 1.00 | 17.93 | 1.17 | 17.93 |
| #FFFFFF | 17.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A1930
Deuteranopia (green-blind)
#06162E
Tritanopia (blue-blind)
#001C20
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #0c162f; /* rgb */ color: rgb(12, 22, 47); /* oklch */ color: oklch(20.7% 0.052 265.7);
Tailwind
colors: {
custom: {
50: '#4f5267',
500: '#0c162f',
950: '#000000',
},
}SCSS
$custom: #0c162f; $custom-light: #4f5267; $custom-dark: #000000;
JSON
{
"hex": "#0c162f",
"rgb": {
"r": 12,
"g": 22,
"b": 47
},
"hsl": {
"h": 222.857,
"s": 59.322,
"l": 11.569
},
"oklch": {
"l": 0.20653,
"c": 0.05185,
"h": 265.7
},
"luminance": 0.00857
}Semantic roles & 50–950 ramp
primary
#0C162F
secondary
#6B592C
accent
#B645E3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A