#0C2A55#0C2A55
#0C2A55 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.086 H 258.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2A55 |
|---|---|
| RGB | rgb(12, 42, 85) |
| HSL | hsl(215, 75%, 19%) |
| HSV | hsv(215, 86%, 33%) |
| CMYK | cmyk(85.9%, 50.6%, 0%, 66.7%) |
| CIE-LAB | lab(17.41, 7.00, -29.24) |
| CIE-LCH | lch(17.41, 30.07, 283.46°) |
| OKLab | oklab(29.01% -0.0177 -0.084) |
| OKLCH | oklch(29.01% 0.086 258.1) |
| XYZ | xyz(2.6187, 2.3897, 8.9158) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.16
Navy Blue
#1B2A4A
ΔE00 3.46
Marine Blue
#01386A
ΔE00 5.49
Navy (survey)
#01153E
ΔE00 7.00
Navy Blue (survey)
#001146
ΔE00 8.43
Darkish Blue
#014182
ΔE00 8.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2A55 #55370C
analogous
#0C4F55 #0C2A55 #120C55
triadic
#0C2A55 #550C2A #2A550C
tetradic
#0C2A55 #550C4F #55370C #0C5512
square
#0C2A55 #550C4F #55370C #0C5512
split-complementary
#0C2A55 #55120C #4F550C
monochromatic
#040D1B #04101F #0C2A55 #14458B #1B5FC0
Accessibility & contrast
On white
14.21
#0C2A55 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#0C2A55 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2A55
14.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2A55 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2A55 | 1.00 | 14.21 | 1.48 | 14.21 |
| #FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#132E57
Deuteranopia (green-blind)
#022854
Tritanopia (blue-blind)
#00343B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #0c2a55; /* rgb */ color: rgb(12, 42, 85); /* oklch */ color: oklch(29.0% 0.086 258.1);
Tailwind
colors: {
custom: {
50: '#586385',
500: '#0c2a55',
950: '#000000',
},
}SCSS
$custom: #0c2a55; $custom-light: #586385; $custom-dark: #000000;
JSON
{
"hex": "#0c2a55",
"rgb": {
"r": 12,
"g": 42,
"b": 85
},
"hsl": {
"h": 215.342,
"s": 75.258,
"l": 19.02
},
"oklch": {
"l": 0.29014,
"c": 0.08581,
"h": 258.1
},
"luminance": 0.0239
}Semantic roles & 50–950 ramp
primary
#0C2A55
secondary
#90672D
accent
#A536F2
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C