#0C182D#0C182D
#0C182D is a very dark, muted blue. Relative luminance 0.009; OKLCH L 21.1% C 0.045 H 260.9°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).
Color values
| HEX | #0C182D |
|---|---|
| RGB | rgb(12, 24, 45) |
| HSL | hsl(218, 58%, 11%) |
| HSV | hsv(218, 73%, 18%) |
| CMYK | cmyk(73.3%, 46.7%, 0%, 82.4%) |
| CIE-LAB | lab(8.31, 2.97, -15.74) |
| CIE-LCH | lch(8.31, 16.02, 280.68°) |
| OKLab | oklab(21.05% -0.0072 -0.0447) |
| OKLCH | oklch(21.05% 0.045 260.9) |
| XYZ | xyz(0.9517, 0.9208, 2.6097) |
| Luminance | 0.0092 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.94
Navy (survey)
#01153E
ΔE00 6.69
Navy Blue
#1B2A4A
ΔE00 6.73
Dark Navy Blue
#00022E
ΔE00 7.71
Midnight
#03012D
ΔE00 8.06
Dark Navy
#000435
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C182D #2D210C
analogous
#0C282D #0C182D #100C2D
triadic
#0C182D #2D0C18 #182D0C
tetradic
#0C182D #2D0C28 #2D210C #0C2D10
square
#0C182D #2D0C28 #2D210C #0C2D10
split-complementary
#0C182D #2D100C #282D0C
monochromatic
#060D18 #060D18 #0C182D #19325D #264C8E
Accessibility & contrast
On white
17.73
#0C182D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.18
#0C182D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C182D
17.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C182D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C182D | 1.00 | 17.73 | 1.18 | 17.73 |
| #FFFFFF | 17.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F1A2E
Deuteranopia (green-blind)
#0B172D
Tritanopia (blue-blind)
#001D20
Achromatopsia (no color)
#181818
Design tokens & code
CSS
--color: #0c182d; /* rgb */ color: rgb(12, 24, 45); /* oklch */ color: oklch(21.1% 0.045 260.9);
Tailwind
colors: {
custom: {
50: '#4e5466',
500: '#0c182d',
950: '#000000',
},
}SCSS
$custom: #0c182d; $custom-light: #4e5466; $custom-dark: #000000;
JSON
{
"hex": "#0c182d",
"rgb": {
"r": 12,
"g": 24,
"b": 45
},
"hsl": {
"h": 218.182,
"s": 57.895,
"l": 11.176
},
"oklch": {
"l": 0.2105,
"c": 0.04525,
"h": 260.9
},
"luminance": 0.00921
}Semantic roles & 50–950 ramp
primary
#0C182D
secondary
#69532C
accent
#A947E1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A