#0C2C4F#0C2C4F
#0C2C4F is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 29.1% C 0.074 H 253.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2C4F |
|---|---|
| RGB | rgb(12, 44, 79) |
| HSL | hsl(211, 74%, 18%) |
| HSV | hsv(211, 85%, 31%) |
| CMYK | cmyk(84.8%, 44.3%, 0%, 69%) |
| CIE-LAB | lab(17.66, 2.87, -24.80) |
| CIE-LCH | lch(17.66, 24.97, 276.59°) |
| OKLab | oklab(29.07% -0.0211 -0.0709) |
| OKLCH | oklch(29.07% 0.074 253.4) |
| XYZ | xyz(2.4631, 2.4438, 7.7375) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 3.00
Navy Blue
#1B2A4A
ΔE00 3.54
Marine Blue
#01386A
ΔE00 5.09
Navy (survey)
#01153E
ΔE00 8.15
Twilight Blue
#0A437A
ΔE00 8.60
Dark
#1B2431
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2C4F #4F2F0C
analogous
#0C4D4F #0C2C4F #0D0C4F
triadic
#0C2C4F #4F0C2C #2C4F0C
tetradic
#0C2C4F #4F0C4D #4F2F0C #0C4F0D
square
#0C2C4F #4F0C4D #4F2F0C #0C4F0D
split-complementary
#0C2C4F #4F0D0C #4D4F0C
monochromatic
#040F1B #040F1B #0C2C4F #144A84 #1C67B9
Accessibility & contrast
On white
14.11
#0C2C4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#0C2C4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2C4F
14.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2C4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2C4F | 1.00 | 14.11 | 1.49 | 14.11 |
| #FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B2F50
Deuteranopia (green-blind)
#10284E
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #0c2c4f; /* rgb */ color: rgb(12, 44, 79); /* oklch */ color: oklch(29.1% 0.074 253.4);
Tailwind
colors: {
custom: {
50: '#576480',
500: '#0c2c4f',
950: '#000000',
},
}SCSS
$custom: #0c2c4f; $custom-light: #576480; $custom-dark: #000000;
JSON
{
"hex": "#0c2c4f",
"rgb": {
"r": 12,
"g": 44,
"b": 79
},
"hsl": {
"h": 211.343,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.29071,
"c": 0.07394,
"h": 253.4
},
"luminance": 0.02444
}Semantic roles & 50–950 ramp
primary
#0C2C4F
secondary
#8B5E2C
accent
#9838F0
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#03050A
muted
#78797C