#0C2B57#0C2B57
#0C2B57 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.4% C 0.088 H 258.0°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2B57 |
|---|---|
| RGB | rgb(12, 43, 87) |
| HSL | hsl(215, 76%, 19%) |
| HSV | hsv(215, 86%, 34%) |
| CMYK | cmyk(86.2%, 50.6%, 0%, 65.9%) |
| CIE-LAB | lab(17.89, 7.14, -29.81) |
| CIE-LCH | lch(17.89, 30.66, 283.48°) |
| OKLab | oklab(29.43% -0.0182 -0.0856) |
| OKLCH | oklch(29.43% 0.088 258) |
| XYZ | xyz(2.7352, 2.4937, 9.3522) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.77
Navy Blue
#1B2A4A
ΔE00 3.72
Marine Blue
#01386A
ΔE00 5.12
Navy (survey)
#01153E
ΔE00 7.36
Darkish Blue
#014182
ΔE00 8.58
Twilight Blue
#0A437A
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2B57 #57380C
analogous
#0C5157 #0C2B57 #130C57
triadic
#0C2B57 #570C2B #2B570C
tetradic
#0C2B57 #570C51 #57380C #0C5713
square
#0C2B57 #570C51 #57380C #0C5713
split-complementary
#0C2B57 #57130C #51570C
monochromatic
#040D1B #051021 #0C2B57 #13468D #1B60C3
Accessibility & contrast
On white
14.01
#0C2B57 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#0C2B57 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2B57
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2B57 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2B57 | 1.00 | 14.01 | 1.50 | 14.01 |
| #FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#132F59
Deuteranopia (green-blind)
#012956
Tritanopia (blue-blind)
#00363C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #0c2b57; /* rgb */ color: rgb(12, 43, 87); /* oklch */ color: oklch(29.4% 0.088 258.0);
Tailwind
colors: {
custom: {
50: '#596387',
500: '#0c2b57',
950: '#000000',
},
}SCSS
$custom: #0c2b57; $custom-light: #596387; $custom-dark: #000000;
JSON
{
"hex": "#0c2b57",
"rgb": {
"r": 12,
"g": 43,
"b": 87
},
"hsl": {
"h": 215.2,
"s": 75.758,
"l": 19.412
},
"oklch": {
"l": 0.2943,
"c": 0.08754,
"h": 258
},
"luminance": 0.02494
}Semantic roles & 50–950 ramp
primary
#0C2B57
secondary
#92682D
accent
#A435F2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C