#0D0C2D#0D0C2D
#0D0C2D is a very dark, moderate blue. Relative luminance 0.005; OKLCH L 18.0% C 0.064 H 279.1°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).
Color values
| HEX | #0D0C2D |
|---|---|
| RGB | rgb(13, 12, 45) |
| HSL | hsl(242, 58%, 11%) |
| HSV | hsv(242, 73%, 18%) |
| CMYK | cmyk(71.1%, 73.3%, 0%, 82.4%) |
| CIE-LAB | lab(4.86, 10.64, -21.22) |
| CIE-LCH | lch(4.86, 23.74, 296.63°) |
| OKLab | oklab(18.05% 0.0102 -0.0636) |
| OKLCH | oklch(18.05% 0.064 279.1) |
| XYZ | xyz(0.7710, 0.5379, 2.5453) |
| Luminance | 0.0054 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 2.85
Dark Navy Blue
#00022E
ΔE00 3.27
Very Dark Blue
#000133
ΔE00 4.47
Dark Navy
#000435
ΔE00 4.48
Navy (survey)
#01153E
ΔE00 4.90
Midnight Blue (survey)
#020035
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0D0C2D #2C2D0C
analogous
#0C1B2D #0D0C2D #1D0C2D
triadic
#0D0C2D #2D0D0C #0C2D0D
tetradic
#0D0C2D #2D0C1B #2C2D0C #0C2D1D
square
#0D0C2D #2D0C1B #2C2D0C #0C2D1D
split-complementary
#0D0C2D #2D1D0C #1B2D0C
monochromatic
#070618 #070618 #0D0C2D #1B195D #29268E
Accessibility & contrast
On white
18.96
#0D0C2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#0D0C2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0D0C2D
18.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0D0C2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0D0C2D | 1.00 | 18.96 | 1.11 | 18.96 |
| #FFFFFF | 18.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.96 | 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: #0d0c2d; /* rgb */ color: rgb(13, 12, 45); /* oklch */ color: oklch(18.0% 0.064 279.1);
Tailwind
colors: {
custom: {
50: '#4e4c66',
500: '#0d0c2d',
950: '#000000',
},
}SCSS
$custom: #0d0c2d; $custom-light: #4e4c66; $custom-dark: #000000;
JSON
{
"hex": "#0d0c2d",
"rgb": {
"r": 13,
"g": 12,
"b": 45
},
"hsl": {
"h": 241.818,
"s": 57.895,
"l": 11.176
},
"oklch": {
"l": 0.18046,
"c": 0.06442,
"h": 279.1
},
"luminance": 0.00538
}Semantic roles & 50–950 ramp
primary
#0D0C2D
secondary
#67692C
accent
#E147DC
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A