#0C2A42#0C2A42
#0C2A42 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.6% C 0.057 H 246.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2A42 |
|---|---|
| RGB | rgb(12, 42, 66) |
| HSL | hsl(207, 69%, 15%) |
| HSV | hsv(207, 82%, 26%) |
| CMYK | cmyk(81.8%, 36.4%, 0%, 74.1%) |
| CIE-LAB | lab(16.14, -1.37, -18.34) |
| CIE-LCH | lch(16.14, 18.39, 265.74°) |
| OKLab | oklab(27.61% -0.023 -0.052) |
| OKLCH | oklch(27.61% 0.057 246.2) |
| XYZ | xyz(1.9626, 2.1272, 5.4604) |
| Luminance | 0.0213 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 5.82
Navy Blue
#1B2A4A
ΔE00 6.25
Marine
#042E60
ΔE00 6.27
Dark Blue Grey
#1F3B4D
ΔE00 6.56
Marine Blue
#01386A
ΔE00 7.32
Dark Grey Blue
#29465B
ΔE00 9.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2A42 #42240C
analogous
#0C423F #0C2A42 #0C0F42
triadic
#0C2A42 #420C2A #2A420C
tetradic
#0C2A42 #3F0C42 #42240C #0F420C
square
#0C2A42 #3F0C42 #42240C #0F420C
split-complementary
#0C2A42 #420C0F #423F0C
monochromatic
#05101A #05101A #0C2A42 #154B76 #1F6CAA
Accessibility & contrast
On white
14.73
#0C2A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#0C2A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2A42
14.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2A42 | 1.00 | 14.73 | 1.43 | 14.73 |
| #FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2B43
Deuteranopia (green-blind)
#182642
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #0c2a42; /* rgb */ color: rgb(12, 42, 66); /* oklch */ color: oklch(27.6% 0.057 246.2);
Tailwind
colors: {
custom: {
50: '#536376',
500: '#0c2a42',
950: '#000000',
},
}SCSS
$custom: #0c2a42; $custom-light: #536376; $custom-dark: #000000;
JSON
{
"hex": "#0c2a42",
"rgb": {
"r": 12,
"g": 42,
"b": 66
},
"hsl": {
"h": 206.667,
"s": 69.231,
"l": 15.294
},
"oklch": {
"l": 0.27611,
"c": 0.05683,
"h": 246.2
},
"luminance": 0.02127
}Semantic roles & 50–950 ramp
primary
#0C2A42
secondary
#7E502C
accent
#8A3CEC
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B