#0C0C2D#0C0C2D
#0C0C2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.065 H 277.7°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).
Color values
| HEX | #0C0C2D |
|---|---|
| RGB | rgb(12, 12, 45) |
| HSL | hsl(240, 58%, 11%) |
| HSV | hsv(240, 73%, 18%) |
| CMYK | cmyk(73.3%, 73.3%, 0%, 82.4%) |
| CIE-LAB | lab(4.79, 10.34, -21.33) |
| CIE-LCH | lch(4.79, 23.71, 295.86°) |
| OKLab | oklab(17.95% 0.0086 -0.0641) |
| OKLCH | oklch(17.95% 0.065 277.7) |
| XYZ | xyz(0.7566, 0.5305, 2.5446) |
| Luminance | 0.0053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 2.75
Dark Navy Blue
#00022E
ΔE00 3.11
Dark Navy
#000435
ΔE00 4.36
Very Dark Blue
#000133
ΔE00 4.36
Navy (survey)
#01153E
ΔE00 4.72
Midnight Blue (survey)
#020035
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C0C2D #2D2D0C
analogous
#0C1C2D #0C0C2D #1C0C2D
triadic
#0C0C2D #2D0C0C #0C2D0C
tetradic
#0C0C2D #2D0C1C #2D2D0C #0C2D1C
square
#0C0C2D #2D0C1C #2D2D0C #0C2D1C
split-complementary
#0C0C2D #2D1C0C #1C2D0C
monochromatic
#060618 #060618 #0C0C2D #19195D #26268E
Accessibility & contrast
On white
18.98
#0C0C2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#0C0C2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C0C2D
18.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C0C2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C0C2D | 1.00 | 18.98 | 1.11 | 18.98 |
| #FFFFFF | 18.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#000F2C
Tritanopia (blue-blind)
#00141A
Achromatopsia (no color)
#101010
Design tokens & code
CSS
--color: #0c0c2d; /* rgb */ color: rgb(12, 12, 45); /* oklch */ color: oklch(18.0% 0.065 277.7);
Tailwind
colors: {
custom: {
50: '#4e4c66',
500: '#0c0c2d',
950: '#000000',
},
}SCSS
$custom: #0c0c2d; $custom-light: #4e4c66; $custom-dark: #000000;
JSON
{
"hex": "#0c0c2d",
"rgb": {
"r": 12,
"g": 12,
"b": 45
},
"hsl": {
"h": 240,
"s": 57.895,
"l": 11.176
},
"oklch": {
"l": 0.17953,
"c": 0.06468,
"h": 277.7
},
"luminance": 0.00531
}Semantic roles & 50–950 ramp
primary
#0C0C2D
secondary
#69692C
accent
#E147E1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A