#0C213E#0C213E
#0C213E is a very dark, moderate cyan. Relative luminance 0.015; OKLCH L 24.8% C 0.062 H 257.1°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).
Color values
| HEX | #0C213E |
|---|---|
| RGB | rgb(12, 33, 62) |
| HSL | hsl(215, 68%, 15%) |
| HSV | hsv(215, 81%, 24%) |
| CMYK | cmyk(80.6%, 46.8%, 0%, 75.7%) |
| CIE-LAB | lab(12.69, 3.51, -21.01) |
| CIE-LCH | lch(12.69, 21.31, 279.50°) |
| OKLab | oklab(24.83% -0.0138 -0.06) |
| OKLCH | oklch(24.83% 0.062 257.1) |
| XYZ | xyz(1.5647, 1.5135, 4.7662) |
| Luminance | 0.0151 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.38
Navy (survey)
#01153E
ΔE00 5.39
Marine
#042E60
ΔE00 6.54
Dark
#1B2431
ΔE00 7.03
Navy Blue (survey)
#001146
ΔE00 7.62
Dark Navy Blue
#00022E
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C213E #3E290C
analogous
#0C3A3E #0C213E #100C3E
triadic
#0C213E #3E0C21 #213E0C
tetradic
#0C213E #3E0C3A #3E290C #0C3E10
square
#0C213E #3E0C3A #3E290C #0C3E10
split-complementary
#0C213E #3E100C #3A3E0C
monochromatic
#050E1A #050E1A #0C213E #163C71 #2058A5
Accessibility & contrast
On white
16.12
#0C213E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.30
#0C213E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C213E
16.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C213E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C213E | 1.00 | 16.12 | 1.30 | 16.12 |
| #FFFFFF | 16.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 16.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13233F
Deuteranopia (green-blind)
#0B1F3D
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#212121
Design tokens & code
CSS
--color: #0c213e; /* rgb */ color: rgb(12, 33, 62); /* oklch */ color: oklch(24.8% 0.062 257.1);
Tailwind
colors: {
custom: {
50: '#525b73',
500: '#0c213e',
950: '#000000',
},
}SCSS
$custom: #0c213e; $custom-light: #525b73; $custom-dark: #000000;
JSON
{
"hex": "#0c213e",
"rgb": {
"r": 12,
"g": 33,
"b": 62
},
"hsl": {
"h": 214.8,
"s": 67.568,
"l": 14.51
},
"oklch": {
"l": 0.24829,
"c": 0.06153,
"h": 257.1
},
"luminance": 0.01514
}Semantic roles & 50–950 ramp
primary
#0C213E
secondary
#7A592C
accent
#A23DEA
background
#F4F5F7
surface
#E7E9ED
border
#C3C5C8
text
#030408
muted
#78797B