#0C152F#0C152F
#0C152F is a very dark, muted blue. Relative luminance 0.008; OKLCH L 20.4% C 0.053 H 267.2°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).
Color values
| HEX | #0C152F |
|---|---|
| RGB | rgb(12, 21, 47) |
| HSL | hsl(225, 59%, 12%) |
| HSV | hsv(225, 74%, 18%) |
| CMYK | cmyk(74.5%, 55.3%, 0%, 81.6%) |
| CIE-LAB | lab(7.40, 6.17, -18.67) |
| CIE-LCH | lch(7.40, 19.66, 288.29°) |
| OKLab | oklab(20.38% -0.0026 -0.0534) |
| OKLCH | oklch(20.38% 0.053 267.2) |
| XYZ | xyz(0.9327, 0.8196, 2.7978) |
| Luminance | 0.0082 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 4.84
Dark Navy Blue
#00022E
ΔE00 5.27
Midnight
#03012D
ΔE00 5.46
Dark Navy
#000435
ΔE00 6.38
Very Dark Blue
#000133
ΔE00 6.55
Navy Blue
#1B2A4A
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C152F #2F260C
analogous
#0C272F #0C152F #150C2F
triadic
#0C152F #2F0C15 #152F0C
tetradic
#0C152F #2F0C27 #2F260C #0C2F15
square
#0C152F #2F0C27 #2F260C #0C2F15
split-complementary
#0C152F #2F150C #272F0C
monochromatic
#060B18 #060B18 #0C152F #182B60 #254191
Accessibility & contrast
On white
18.04
#0C152F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#0C152F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C152F
18.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C152F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C152F | 1.00 | 18.04 | 1.16 | 18.04 |
| #FFFFFF | 18.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#091830
Deuteranopia (green-blind)
#04152E
Tritanopia (blue-blind)
#001B1F
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #0c152f; /* rgb */ color: rgb(12, 21, 47); /* oklch */ color: oklch(20.4% 0.053 267.2);
Tailwind
colors: {
custom: {
50: '#4f5167',
500: '#0c152f',
950: '#000000',
},
}SCSS
$custom: #0c152f; $custom-light: #4f5167; $custom-dark: #000000;
JSON
{
"hex": "#0c152f",
"rgb": {
"r": 12,
"g": 21,
"b": 47
},
"hsl": {
"h": 224.571,
"s": 59.322,
"l": 11.569
},
"oklch": {
"l": 0.20384,
"c": 0.05343,
"h": 267.2
},
"luminance": 0.0082
}Semantic roles & 50–950 ramp
primary
#0C152F
secondary
#6B5B2C
accent
#BA45E3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020206
muted
#78787A