#0C2A56#0C2A56
#0C2A56 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.087 H 258.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2A56 |
|---|---|
| RGB | rgb(12, 42, 86) |
| HSL | hsl(216, 76%, 19%) |
| HSV | hsv(216, 86%, 34%) |
| CMYK | cmyk(86%, 51.2%, 0%, 66.3%) |
| CIE-LAB | lab(17.49, 7.44, -29.79) |
| CIE-LCH | lch(17.49, 30.71, 284.02°) |
| OKLab | oklab(29.1% -0.0175 -0.0856) |
| OKLCH | oklch(29.1% 0.087 258.4) |
| XYZ | xyz(2.6587, 2.4057, 9.1265) |
| Luminance | 0.0241 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.08
Navy Blue
#1B2A4A
ΔE00 3.60
Marine Blue
#01386A
ΔE00 5.48
Navy (survey)
#01153E
ΔE00 7.00
Navy Blue (survey)
#001146
ΔE00 8.37
Darkish Blue
#014182
ΔE00 8.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2A56 #56380C
analogous
#0C4F56 #0C2A56 #130C56
triadic
#0C2A56 #560C2A #2A560C
tetradic
#0C2A56 #560C4F #56380C #0C5613
square
#0C2A56 #560C4F #56380C #0C5613
split-complementary
#0C2A56 #56130C #4F560C
monochromatic
#040D1B #051020 #0C2A56 #13448C #1B5EC1
Accessibility & contrast
On white
14.18
#0C2A56 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#0C2A56 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2A56
14.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2A56 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2A56 | 1.00 | 14.18 | 1.48 | 14.18 |
| #FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#122E58
Deuteranopia (green-blind)
#002855
Tritanopia (blue-blind)
#00353B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #0c2a56; /* rgb */ color: rgb(12, 42, 86); /* oklch */ color: oklch(29.1% 0.087 258.4);
Tailwind
colors: {
custom: {
50: '#596386',
500: '#0c2a56',
950: '#000000',
},
}SCSS
$custom: #0c2a56; $custom-light: #596386; $custom-dark: #000000;
JSON
{
"hex": "#0c2a56",
"rgb": {
"r": 12,
"g": 42,
"b": 86
},
"hsl": {
"h": 215.676,
"s": 75.51,
"l": 19.216
},
"oklch": {
"l": 0.29095,
"c": 0.08736,
"h": 258.4
},
"luminance": 0.02406
}Semantic roles & 50–950 ramp
primary
#0C2A56
secondary
#91682D
accent
#A636F2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C