#0C2C40#0C2C40
#0C2C40 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.1% C 0.052 H 240.0°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2C40 |
|---|---|
| RGB | rgb(12, 44, 64) |
| HSL | hsl(203, 68%, 15%) |
| HSV | hsv(203, 81%, 25%) |
| CMYK | cmyk(81.2%, 31.2%, 0%, 74.9%) |
| CIE-LAB | lab(16.75, -3.63, -16.01) |
| CIE-LCH | lch(16.75, 16.41, 257.23°) |
| OKLab | oklab(28.05% -0.0261 -0.0452) |
| OKLCH | oklch(28.05% 0.052 240) |
| XYZ | xyz(1.9774, 2.2495, 5.1795) |
| Luminance | 0.0225 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 4.92
Dark
#1B2431
ΔE00 6.19
Marine
#042E60
ΔE00 8.13
Dark Grey Blue
#29465B
ΔE00 8.30
Gunmetal
#2A3439
ΔE00 8.30
Marine Blue
#01386A
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2C40 #40200C
analogous
#0C403A #0C2C40 #0C1240
triadic
#0C2C40 #400C2C #2C400C
tetradic
#0C2C40 #3A0C40 #40200C #12400C
square
#0C2C40 #3A0C40 #40200C #12400C
split-complementary
#0C2C40 #400C12 #403A0C
monochromatic
#05121A #05121A #0C2C40 #164F74 #1F73A7
Accessibility & contrast
On white
14.48
#0C2C40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#0C2C40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2C40
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2C40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2C40 | 1.00 | 14.48 | 1.45 | 14.48 |
| #FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#1C2740
Tritanopia (blue-blind)
#003133
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #0c2c40; /* rgb */ color: rgb(12, 44, 64); /* oklch */ color: oklch(28.1% 0.052 240.0);
Tailwind
colors: {
custom: {
50: '#536475',
500: '#0c2c40',
950: '#000000',
},
}SCSS
$custom: #0c2c40; $custom-light: #536475; $custom-dark: #000000;
JSON
{
"hex": "#0c2c40",
"rgb": {
"r": 12,
"g": 44,
"b": 64
},
"hsl": {
"h": 203.077,
"s": 68.421,
"l": 14.902
},
"oklch": {
"l": 0.28051,
"c": 0.05217,
"h": 240
},
"luminance": 0.0225
}Semantic roles & 50–950 ramp
primary
#0C2C40
secondary
#7C4B2C
accent
#803DEB
background
#F4F6F7
surface
#E8EBED
border
#C4C6C8
text
#030508
muted
#787A7B