#0C162D#0C162D
#0C162D is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.5% C 0.048 H 264.8°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).
Color values
| HEX | #0C162D |
|---|---|
| RGB | rgb(12, 22, 45) |
| HSL | hsl(222, 58%, 11%) |
| HSV | hsv(222, 73%, 18%) |
| CMYK | cmyk(73.3%, 51.1%, 0%, 82.4%) |
| CIE-LAB | lab(7.60, 4.52, -16.88) |
| CIE-LCH | lch(7.60, 17.47, 285.00°) |
| OKLab | oklab(20.49% -0.0044 -0.0481) |
| OKLCH | oklch(20.49% 0.048 264.8) |
| XYZ | xyz(0.9120, 0.8414, 2.5965) |
| Luminance | 0.0084 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.87
Dark Navy Blue
#00022E
ΔE00 6.47
Midnight
#03012D
ΔE00 6.73
Navy Blue
#1B2A4A
ΔE00 6.90
Dark
#1B2431
ΔE00 7.41
Dark Navy
#000435
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C162D #2D230C
analogous
#0C262D #0C162D #120C2D
triadic
#0C162D #2D0C16 #162D0C
tetradic
#0C162D #2D0C26 #2D230C #0C2D12
square
#0C162D #2D0C26 #2D230C #0C2D12
split-complementary
#0C162D #2D120C #262D0C
monochromatic
#060C18 #060C18 #0C162D #192E5D #26458E
Accessibility & contrast
On white
17.98
#0C162D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.17
#0C162D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C162D
17.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C162D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C162D | 1.00 | 17.98 | 1.17 | 17.98 |
| #FFFFFF | 17.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C182E
Deuteranopia (green-blind)
#07152D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#171717
Design tokens & code
CSS
--color: #0c162d; /* rgb */ color: rgb(12, 22, 45); /* oklch */ color: oklch(20.5% 0.048 264.8);
Tailwind
colors: {
custom: {
50: '#4e5266',
500: '#0c162d',
950: '#000000',
},
}SCSS
$custom: #0c162d; $custom-light: #4e5266; $custom-dark: #000000;
JSON
{
"hex": "#0c162d",
"rgb": {
"r": 12,
"g": 22,
"b": 45
},
"hsl": {
"h": 221.818,
"s": 57.895,
"l": 11.176
},
"oklch": {
"l": 0.20493,
"c": 0.04826,
"h": 264.8
},
"luminance": 0.00841
}Semantic roles & 50–950 ramp
primary
#0C162D
secondary
#69562C
accent
#B247E1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A