#0C2E57#0C2E57
#0C2E57 is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.2% C 0.084 H 255.4°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2E57 |
|---|---|
| RGB | rgb(12, 46, 87) |
| HSL | hsl(213, 76%, 19%) |
| HSV | hsv(213, 86%, 34%) |
| CMYK | cmyk(86.2%, 47.1%, 0%, 65.9%) |
| CIE-LAB | lab(18.89, 4.94, -28.21) |
| CIE-LCH | lch(18.89, 28.64, 279.93°) |
| OKLab | oklab(30.2% -0.021 -0.0808) |
| OKLCH | oklch(30.2% 0.084 255.4) |
| XYZ | xyz(2.8483, 2.7199, 9.3899) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 1.63
Navy Blue
#1B2A4A
ΔE00 4.02
Marine Blue
#01386A
ΔE00 4.10
Twilight Blue
#0A437A
ΔE00 7.67
Darkish Blue
#014182
ΔE00 7.74
Prussian Blue
#004577
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2E57 #57350C
analogous
#0C5457 #0C2E57 #0F0C57
triadic
#0C2E57 #570C2E #2E570C
tetradic
#0C2E57 #570C54 #57350C #0C570F
square
#0C2E57 #570C54 #57350C #0C570F
split-complementary
#0C2E57 #570F0C #54570C
monochromatic
#040E1B #051221 #0C2E57 #134A8D #1B67C3
Accessibility & contrast
On white
13.60
#0C2E57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#0C2E57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2E57
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2E57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2E57 | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193259
Deuteranopia (green-blind)
#0A2B56
Tritanopia (blue-blind)
#00383E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #0c2e57; /* rgb */ color: rgb(12, 46, 87); /* oklch */ color: oklch(30.2% 0.084 255.4);
Tailwind
colors: {
custom: {
50: '#596687',
500: '#0c2e57',
950: '#000000',
},
}SCSS
$custom: #0c2e57; $custom-light: #596687; $custom-dark: #000000;
JSON
{
"hex": "#0c2e57",
"rgb": {
"r": 12,
"g": 46,
"b": 87
},
"hsl": {
"h": 212.8,
"s": 75.758,
"l": 19.412
},
"oklch": {
"l": 0.30199,
"c": 0.08354,
"h": 255.4
},
"luminance": 0.0272
}Semantic roles & 50–950 ramp
primary
#0C2E57
secondary
#92642D
accent
#9D35F2
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04050B
muted
#797A7C