#0C2A40#0C2A40
#0C2A40 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.5% C 0.054 H 244.0°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2A40 |
|---|---|
| RGB | rgb(12, 42, 64) |
| HSL | hsl(205, 68%, 15%) |
| HSV | hsv(205, 81%, 25%) |
| CMYK | cmyk(81.2%, 34.4%, 0%, 74.9%) |
| CIE-LAB | lab(16.02, -2.23, -17.14) |
| CIE-LCH | lch(16.02, 17.28, 262.60°) |
| OKLab | oklab(27.48% -0.0237 -0.0485) |
| OKLCH | oklch(27.48% 0.054 244) |
| XYZ | xyz(1.9046, 2.1040, 5.1552) |
| Luminance | 0.0210 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 5.62
Dark Blue Grey
#1F3B4D
ΔE00 6.01
Marine
#042E60
ΔE00 7.08
Navy Blue
#1B2A4A
ΔE00 7.23
Marine Blue
#01386A
ΔE00 7.92
Dark Grey Blue
#29465B
ΔE00 9.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2A40 #40220C
analogous
#0C403C #0C2A40 #0C1040
triadic
#0C2A40 #400C2A #2A400C
tetradic
#0C2A40 #3C0C40 #40220C #10400C
square
#0C2A40 #3C0C40 #40220C #10400C
split-complementary
#0C2A40 #400C10 #403C0C
monochromatic
#05111A #05111A #0C2A40 #164C74 #1F6EA7
Accessibility & contrast
On white
14.78
#0C2A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#0C2A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2A40
14.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2A40 | 1.00 | 14.78 | 1.42 | 14.78 |
| #FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202B41
Deuteranopia (green-blind)
#192640
Tritanopia (blue-blind)
#002F32
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #0c2a40; /* rgb */ color: rgb(12, 42, 64); /* oklch */ color: oklch(27.5% 0.054 244.0);
Tailwind
colors: {
custom: {
50: '#536375',
500: '#0c2a40',
950: '#000000',
},
}SCSS
$custom: #0c2a40; $custom-light: #536375; $custom-dark: #000000;
JSON
{
"hex": "#0c2a40",
"rgb": {
"r": 12,
"g": 42,
"b": 64
},
"hsl": {
"h": 205.385,
"s": 68.421,
"l": 14.902
},
"oklch": {
"l": 0.2748,
"c": 0.05397,
"h": 244
},
"luminance": 0.02104
}Semantic roles & 50–950 ramp
primary
#0C2A40
secondary
#7C4E2C
accent
#863DEB
background
#F4F5F7
surface
#E8EAED
border
#C4C6C8
text
#030508
muted
#78797B