#0C0D2D#0C0D2D
#0C0D2D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.2% C 0.063 H 276.8°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).
Color values
| HEX | #0C0D2D |
|---|---|
| RGB | rgb(12, 13, 45) |
| HSL | hsl(238, 58%, 11%) |
| HSV | hsv(238, 73%, 18%) |
| CMYK | cmyk(73.3%, 71.1%, 0%, 82.4%) |
| CIE-LAB | lab(5.02, 9.88, -20.98) |
| CIE-LCH | lch(5.02, 23.19, 295.21°) |
| OKLab | oklab(18.18% 0.0074 -0.0626) |
| OKLCH | oklch(18.18% 0.063 276.8) |
| XYZ | xyz(0.7690, 0.5554, 2.5488) |
| Luminance | 0.0056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 2.98
Dark Navy Blue
#00022E
ΔE00 3.27
Dark Navy
#000435
ΔE00 4.56
Very Dark Blue
#000133
ΔE00 4.58
Navy (survey)
#01153E
ΔE00 4.69
Midnight Blue (survey)
#020035
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C0D2D #2D2C0C
analogous
#0C1D2D #0C0D2D #1B0C2D
triadic
#0C0D2D #2D0C0D #0D2D0C
tetradic
#0C0D2D #2D0C1D #2D2C0C #0C2D1B
square
#0C0D2D #2D0C1D #2D2C0C #0C2D1B
split-complementary
#0C0D2D #2D1B0C #1D2D0C
monochromatic
#060718 #060718 #0C0D2D #191B5D #26298E
Accessibility & contrast
On white
18.90
#0C0D2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#0C0D2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C0D2D
18.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C0D2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C0D2D | 1.00 | 18.90 | 1.11 | 18.90 |
| #FFFFFF | 18.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #0c0d2d; /* rgb */ color: rgb(12, 13, 45); /* oklch */ color: oklch(18.2% 0.063 276.8);
Tailwind
colors: {
custom: {
50: '#4e4c66',
500: '#0c0d2d',
950: '#000000',
},
}SCSS
$custom: #0c0d2d; $custom-light: #4e4c66; $custom-dark: #000000;
JSON
{
"hex": "#0c0d2d",
"rgb": {
"r": 12,
"g": 13,
"b": 45
},
"hsl": {
"h": 238.182,
"s": 57.895,
"l": 11.176
},
"oklch": {
"l": 0.18184,
"c": 0.06304,
"h": 276.8
},
"luminance": 0.00555
}Semantic roles & 50–950 ramp
primary
#0C0D2D
secondary
#69672C
accent
#DC47E1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A