#0C2356#0C2356
#0C2356 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.097 H 263.2°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2356 |
|---|---|
| RGB | rgb(12, 35, 86) |
| HSL | hsl(221, 76%, 19%) |
| HSV | hsv(221, 86%, 34%) |
| CMYK | cmyk(86%, 59.3%, 0%, 66.3%) |
| CIE-LAB | lab(15.23, 12.71, -33.44) |
| CIE-LCH | lch(15.23, 35.77, 290.81°) |
| OKLab | oklab(27.37% -0.0115 -0.0965) |
| OKLCH | oklch(27.37% 0.097 263.2) |
| XYZ | xyz(2.4318, 1.9518, 9.0509) |
| Luminance | 0.0195 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.37
Navy Blue
#1B2A4A
ΔE00 4.83
Navy (survey)
#01153E
ΔE00 5.08
Navy Blue (survey)
#001146
ΔE00 5.70
Midnight Blue
#191970
ΔE00 7.60
Marine Blue
#01386A
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2356 #563F0C
analogous
#0C4856 #0C2356 #1A0C56
triadic
#0C2356 #560C23 #23560C
tetradic
#0C2356 #560C48 #563F0C #0C561A
square
#0C2356 #560C48 #563F0C #0C561A
split-complementary
#0C2356 #561A0C #48560C
monochromatic
#040B1B #050D20 #0C2356 #13398C #1B4FC1
Accessibility & contrast
On white
15.10
#0C2356 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#0C2356 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2356
15.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2356 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2356 | 1.00 | 15.10 | 1.39 | 15.10 |
| #FFFFFF | 15.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #0c2356; /* rgb */ color: rgb(12, 35, 86); /* oklch */ color: oklch(27.4% 0.097 263.2);
Tailwind
colors: {
custom: {
50: '#595d86',
500: '#0c2356',
950: '#000000',
},
}SCSS
$custom: #0c2356; $custom-light: #595d86; $custom-dark: #000000;
JSON
{
"hex": "#0c2356",
"rgb": {
"r": 12,
"g": 35,
"b": 86
},
"hsl": {
"h": 221.351,
"s": 75.51,
"l": 19.216
},
"oklch": {
"l": 0.27373,
"c": 0.09715,
"h": 263.2
},
"luminance": 0.01952
}Semantic roles & 50–950 ramp
primary
#0C2356
secondary
#91722D
accent
#B836F2
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C