#0C2A39#0C2A39
#0C2A39 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.045 H 233.7°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2A39 |
|---|---|
| RGB | rgb(12, 42, 57) |
| HSL | hsl(200, 65%, 14%) |
| HSV | hsv(200, 79%, 22%) |
| CMYK | cmyk(78.9%, 26.3%, 0%, 77.6%) |
| CIE-LAB | lab(15.64, -5.17, -12.87) |
| CIE-LCH | lch(15.64, 13.87, 248.13°) |
| OKLab | oklab(27.05% -0.0265 -0.0361) |
| OKLCH | oklch(27.05% 0.045 233.7) |
| XYZ | xyz(1.7178, 2.0293, 4.1713) |
| Luminance | 0.0203 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 5.55
Dark
#1B2431
ΔE00 6.55
Gunmetal
#2A3439
ΔE00 7.15
Dark Grey Blue
#29465B
ΔE00 9.28
Charcoal
#36454F
ΔE00 9.73
Dark Slate Blue
#214761
ΔE00 9.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2A39 #391B0C
analogous
#0C3931 #0C2A39 #0C1339
triadic
#0C2A39 #390C2A #2A390C
tetradic
#0C2A39 #310C39 #391B0C #13390C
square
#0C2A39 #310C39 #391B0C #13390C
split-complementary
#0C2A39 #390C13 #39310C
monochromatic
#051319 #051319 #0C2A39 #174F6C #21759E
Accessibility & contrast
On white
14.94
#0C2A39 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#0C2A39 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2A39
14.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2A39 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2A39 | 1.00 | 14.94 | 1.41 | 14.94 |
| #FFFFFF | 14.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232A3A
Deuteranopia (green-blind)
#1D2539
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #0c2a39; /* rgb */ color: rgb(12, 42, 57); /* oklch */ color: oklch(27.0% 0.045 233.7);
Tailwind
colors: {
custom: {
50: '#51636f',
500: '#0c2a39',
950: '#000000',
},
}SCSS
$custom: #0c2a39; $custom-light: #51636f; $custom-dark: #000000;
JSON
{
"hex": "#0c2a39",
"rgb": {
"r": 12,
"g": 42,
"b": 57
},
"hsl": {
"h": 200,
"s": 65.217,
"l": 13.529
},
"oklch": {
"l": 0.27049,
"c": 0.04482,
"h": 233.7
},
"luminance": 0.02029
}Semantic roles & 50–950 ramp
primary
#0C2A39
secondary
#75442C
accent
#7840E8
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A