#0C2A45#0C2A45
#0C2A45 is a dark, moderate cyan. Relative luminance 0.022; OKLCH L 27.8% C 0.061 H 249.0°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2A45 |
|---|---|
| RGB | rgb(12, 42, 69) |
| HSL | hsl(208, 70%, 16%) |
| HSV | hsv(208, 83%, 27%) |
| CMYK | cmyk(82.6%, 39.1%, 0%, 72.9%) |
| CIE-LAB | lab(16.32, -0.07, -20.12) |
| CIE-LCH | lch(16.32, 20.12, 269.81°) |
| OKLab | oklab(27.81% -0.0219 -0.0572) |
| OKLCH | oklch(27.81% 0.061 249) |
| XYZ | xyz(2.0534, 2.1635, 5.9385) |
| Luminance | 0.0216 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 4.95
Marine
#042E60
ΔE00 5.23
Dark
#1B2431
ΔE00 6.41
Marine Blue
#01386A
ΔE00 6.65
Dark Blue Grey
#1F3B4D
ΔE00 7.48
Navy (survey)
#01153E
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2A45 #45270C
analogous
#0C4543 #0C2A45 #0C0D45
triadic
#0C2A45 #450C2A #2A450C
tetradic
#0C2A45 #430C45 #45270C #0D450C
square
#0C2A45 #430C45 #45270C #0D450C
split-complementary
#0C2A45 #450C0D #45430C
monochromatic
#05101A #05101A #0C2A45 #154A79 #1E69AD
Accessibility & contrast
On white
14.66
#0C2A45 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#0C2A45 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2A45
14.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2A45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2A45 | 1.00 | 14.66 | 1.43 | 14.66 |
| #FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E2B46
Deuteranopia (green-blind)
#152644
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #0c2a45; /* rgb */ color: rgb(12, 42, 69); /* oklch */ color: oklch(27.8% 0.061 249.0);
Tailwind
colors: {
custom: {
50: '#546379',
500: '#0c2a45',
950: '#000000',
},
}SCSS
$custom: #0c2a45; $custom-light: #546379; $custom-dark: #000000;
JSON
{
"hex": "#0c2a45",
"rgb": {
"r": 12,
"g": 42,
"b": 69
},
"hsl": {
"h": 208.421,
"s": 70.37,
"l": 15.882
},
"oklch": {
"l": 0.27814,
"c": 0.06124,
"h": 249
},
"luminance": 0.02164
}Semantic roles & 50–950 ramp
primary
#0C2A45
secondary
#81542C
accent
#8F3BED
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B