#0C152E#0C152E
#0C152E is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.3% C 0.052 H 266.9°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).
Color values
| HEX | #0C152E |
|---|---|
| RGB | rgb(12, 21, 46) |
| HSL | hsl(224, 59%, 11%) |
| HSV | hsv(224, 74%, 18%) |
| CMYK | cmyk(73.9%, 54.3%, 0%, 82%) |
| CIE-LAB | lab(7.33, 5.71, -18.04) |
| CIE-LCH | lch(7.33, 18.92, 287.56°) |
| OKLab | oklab(20.3% -0.0028 -0.0516) |
| OKLCH | oklch(20.3% 0.052 266.9) |
| XYZ | xyz(0.9128, 0.8117, 2.6928) |
| Luminance | 0.0081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 5.19
Dark Navy Blue
#00022E
ΔE00 5.59
Midnight
#03012D
ΔE00 5.79
Dark Navy
#000435
ΔE00 6.72
Very Dark Blue
#000133
ΔE00 6.87
Navy Blue
#1B2A4A
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C152E #2E250C
analogous
#0C262E #0C152E #140C2E
triadic
#0C152E #2E0C15 #152E0C
tetradic
#0C152E #2E0C26 #2E250C #0C2E14
square
#0C152E #2E0C26 #2E250C #0C2E14
split-complementary
#0C152E #2E140C #262E0C
monochromatic
#060B18 #060B18 #0C152E #192B5F #25418F
Accessibility & contrast
On white
18.07
#0C152E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#0C152E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C152E
18.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C152E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C152E | 1.00 | 18.07 | 1.16 | 18.07 |
| #FFFFFF | 18.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09182F
Deuteranopia (green-blind)
#05152D
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #0c152e; /* rgb */ color: rgb(12, 21, 46); /* oklch */ color: oklch(20.3% 0.052 266.9);
Tailwind
colors: {
custom: {
50: '#4f5167',
500: '#0c152e',
950: '#000000',
},
}SCSS
$custom: #0c152e; $custom-light: #4f5167; $custom-dark: #000000;
JSON
{
"hex": "#0c152e",
"rgb": {
"r": 12,
"g": 21,
"b": 46
},
"hsl": {
"h": 224.118,
"s": 58.621,
"l": 11.373
},
"oklch": {
"l": 0.20301,
"c": 0.05164,
"h": 266.9
},
"luminance": 0.00812
}Semantic roles & 50–950 ramp
primary
#0C152E
secondary
#6A592C
accent
#B946E2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A