#0C2A38#0C2A38
#0C2A38 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.0% C 0.044 H 231.9°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2A38 |
|---|---|
| RGB | rgb(12, 42, 56) |
| HSL | hsl(199, 65%, 13%) |
| HSV | hsv(199, 79%, 22%) |
| CMYK | cmyk(78.6%, 25%, 0%, 78%) |
| CIE-LAB | lab(15.59, -5.58, -12.25) |
| CIE-LCH | lch(15.59, 13.46, 245.53°) |
| OKLab | oklab(26.99% -0.027 -0.0343) |
| OKLCH | oklch(26.99% 0.044 231.9) |
| XYZ | xyz(1.6931, 2.0194, 4.0412) |
| Luminance | 0.0202 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 5.74
Dark
#1B2431
ΔE00 6.87
Gunmetal
#2A3439
ΔE00 6.99
Dark Grey Blue
#29465B
ΔE00 9.48
Charcoal
#36454F
ΔE00 9.73
Dark Slate Blue
#214761
ΔE00 10.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2A38 #381A0C
analogous
#0C3830 #0C2A38 #0C1438
triadic
#0C2A38 #380C2A #2A380C
tetradic
#0C2A38 #300C38 #381A0C #14380C
square
#0C2A38 #300C38 #381A0C #14380C
split-complementary
#0C2A38 #380C14 #38300C
monochromatic
#051319 #051319 #0C2A38 #17506A #22769D
Accessibility & contrast
On white
14.96
#0C2A38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#0C2A38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2A38
14.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2A38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2A38 | 1.00 | 14.96 | 1.40 | 14.96 |
| #FFFFFF | 14.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232939
Deuteranopia (green-blind)
#1D2538
Tritanopia (blue-blind)
#002E2F
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #0c2a38; /* rgb */ color: rgb(12, 42, 56); /* oklch */ color: oklch(27.0% 0.044 231.9);
Tailwind
colors: {
custom: {
50: '#51636e',
500: '#0c2a38',
950: '#000000',
},
}SCSS
$custom: #0c2a38; $custom-light: #51636e; $custom-dark: #000000;
JSON
{
"hex": "#0c2a38",
"rgb": {
"r": 12,
"g": 42,
"b": 56
},
"hsl": {
"h": 199.091,
"s": 64.706,
"l": 13.333
},
"oklch": {
"l": 0.26992,
"c": 0.04367,
"h": 231.9
},
"luminance": 0.0202
}Semantic roles & 50–950 ramp
primary
#0C2A38
secondary
#74432C
accent
#7540E8
background
#F4F5F6
surface
#E7EAEC
border
#C3C6C7
text
#020507
muted
#78797A