#0F0C2D#0F0C2D
#0F0C2D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.2% C 0.064 H 282.1°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).
Color values
| HEX | #0F0C2D |
|---|---|
| RGB | rgb(15, 12, 45) |
| HSL | hsl(245, 58%, 11%) |
| HSV | hsv(245, 73%, 18%) |
| CMYK | cmyk(66.7%, 73.3%, 0%, 82.4%) |
| CIE-LAB | lab(5.00, 11.29, -20.98) |
| CIE-LCH | lch(5.00, 23.83, 298.27°) |
| OKLab | oklab(18.24% 0.0134 -0.0625) |
| OKLCH | oklch(18.24% 0.064 282.1) |
| XYZ | xyz(0.8020, 0.5539, 2.5468) |
| Luminance | 0.0055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 3.15
Dark Navy Blue
#00022E
ΔE00 3.68
Very Dark Blue
#000133
ΔE00 4.73
Dark Navy
#000435
ΔE00 4.76
Midnight Blue (survey)
#020035
ΔE00 5.18
Navy (survey)
#01153E
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F0C2D #2A2D0C
analogous
#0C192D #0F0C2D #1F0C2D
triadic
#0F0C2D #2D0F0C #0C2D0F
tetradic
#0F0C2D #2D0C19 #2A2D0C #0C2D1F
square
#0F0C2D #2D0C19 #2A2D0C #0C2D1F
split-complementary
#0F0C2D #2D1F0C #192D0C
monochromatic
#080618 #080618 #0F0C2D #1F195D #2F268E
Accessibility & contrast
On white
18.91
#0F0C2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#0F0C2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F0C2D
18.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F0C2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F0C2D | 1.00 | 18.91 | 1.11 | 18.91 |
| #FFFFFF | 18.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#03141A
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #0f0c2d; /* rgb */ color: rgb(15, 12, 45); /* oklch */ color: oklch(18.2% 0.064 282.1);
Tailwind
colors: {
custom: {
50: '#504c66',
500: '#0f0c2d',
950: '#000000',
},
}SCSS
$custom: #0f0c2d; $custom-light: #504c66; $custom-dark: #000000;
JSON
{
"hex": "#0f0c2d",
"rgb": {
"r": 15,
"g": 12,
"b": 45
},
"hsl": {
"h": 245.455,
"s": 57.895,
"l": 11.176
},
"oklch": {
"l": 0.18244,
"c": 0.06397,
"h": 282.1
},
"luminance": 0.00554
}Semantic roles & 50–950 ramp
primary
#0F0C2D
secondary
#63692C
accent
#E147D3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A