#0C1C4A#0C1C4A
#0C1C4A is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.6% C 0.088 H 265.6°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).
Color values
| HEX | #0C1C4A |
|---|---|
| RGB | rgb(12, 28, 74) |
| HSL | hsl(225, 72%, 17%) |
| HSV | hsv(225, 84%, 29%) |
| CMYK | cmyk(83.8%, 62.2%, 0%, 71%) |
| CIE-LAB | lab(11.98, 12.75, -30.54) |
| CIE-LCH | lch(11.98, 33.09, 292.66°) |
| OKLab | oklab(24.59% -0.0067 -0.0881) |
| OKLCH | oklch(24.59% 0.088 265.6) |
| XYZ | xyz(1.8025, 1.4029, 6.6530) |
| Luminance | 0.0140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy (survey)
#01153E
ΔE00 2.61
Navy Blue (survey)
#001146
ΔE00 3.63
Navy Blue
#1B2A4A
ΔE00 5.55
Dark Navy
#000435
ΔE00 5.68
Very Dark Blue
#000133
ΔE00 6.15
Dark Navy Blue
#00022E
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C1C4A #4A3A0C
analogous
#0C3B4A #0C1C4A #1B0C4A
triadic
#0C1C4A #4A0C1C #1C4A0C
tetradic
#0C1C4A #4A0C3B #4A3A0C #0C4A1B
square
#0C1C4A #4A0C3B #4A3A0C #0C4A1B
split-complementary
#0C1C4A #4A1B0C #3B4A0C
monochromatic
#040A1A #040A1A #0C1C4A #15307F #1D44B3
Accessibility & contrast
On white
16.40
#0C1C4A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.28
#0C1C4A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C1C4A
16.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C1C4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C1C4A | 1.00 | 16.40 | 1.28 | 16.40 |
| #FFFFFF | 16.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#00272F
Achromatopsia (no color)
#1F1F1F
Design tokens & code
CSS
--color: #0c1c4a; /* rgb */ color: rgb(12, 28, 74); /* oklch */ color: oklch(24.6% 0.088 265.6);
Tailwind
colors: {
custom: {
50: '#56577d',
500: '#0c1c4a',
950: '#000000',
},
}SCSS
$custom: #0c1c4a; $custom-light: #56577d; $custom-dark: #000000;
JSON
{
"hex": "#0c1c4a",
"rgb": {
"r": 12,
"g": 28,
"b": 74
},
"hsl": {
"h": 224.516,
"s": 72.093,
"l": 16.863
},
"oklch": {
"l": 0.24585,
"c": 0.08834,
"h": 265.6
},
"luminance": 0.01403
}Semantic roles & 50–950 ramp
primary
#0C1C4A
secondary
#866F2C
accent
#C039EF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B