#0C2842#0C2842
#0C2842 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.1% C 0.059 H 249.5°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2842 |
|---|---|
| RGB | rgb(12, 40, 66) |
| HSL | hsl(209, 69%, 15%) |
| HSV | hsv(209, 82%, 26%) |
| CMYK | cmyk(81.8%, 39.4%, 0%, 74.1%) |
| CIE-LAB | lab(15.43, 0.07, -19.46) |
| CIE-LCH | lch(15.43, 19.46, 270.21°) |
| OKLab | oklab(27.05% -0.0206 -0.0553) |
| OKLCH | oklch(27.05% 0.059 249.5) |
| XYZ | xyz(1.8934, 1.9889, 5.4373) |
| Luminance | 0.0199 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.88
Marine
#042E60
ΔE00 5.70
Dark
#1B2431
ΔE00 5.93
Marine Blue
#01386A
ΔE00 7.34
Dark Blue Grey
#1F3B4D
ΔE00 7.90
Navy (survey)
#01153E
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2842 #42260C
analogous
#0C4241 #0C2842 #0C0D42
triadic
#0C2842 #420C28 #28420C
tetradic
#0C2842 #410C42 #42260C #0D420C
square
#0C2842 #410C42 #42260C #0D420C
split-complementary
#0C2842 #420C0D #42410C
monochromatic
#05101A #05101A #0C2842 #154776 #1F67AA
Accessibility & contrast
On white
15.02
#0C2842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.40
#0C2842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2842
15.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2842 | 1.00 | 15.02 | 1.40 | 15.02 |
| #FFFFFF | 15.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C2943
Deuteranopia (green-blind)
#142441
Tritanopia (blue-blind)
#002E31
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #0c2842; /* rgb */ color: rgb(12, 40, 66); /* oklch */ color: oklch(27.1% 0.059 249.5);
Tailwind
colors: {
custom: {
50: '#536176',
500: '#0c2842',
950: '#000000',
},
}SCSS
$custom: #0c2842; $custom-light: #536176; $custom-dark: #000000;
JSON
{
"hex": "#0c2842",
"rgb": {
"r": 12,
"g": 40,
"b": 66
},
"hsl": {
"h": 208.889,
"s": 69.231,
"l": 15.294
},
"oklch": {
"l": 0.27051,
"c": 0.05902,
"h": 249.5
},
"luminance": 0.01989
}Semantic roles & 50–950 ramp
primary
#0C2842
secondary
#7E532C
accent
#913CEC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030508
muted
#78797B