#0F0C2F#0F0C2F
#0F0C2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.067 H 281.4°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).
Color values
| HEX | #0F0C2F |
|---|---|
| RGB | rgb(15, 12, 47) |
| HSL | hsl(245, 59%, 12%) |
| HSV | hsv(245, 74%, 18%) |
| CMYK | cmyk(68.1%, 74.5%, 0%, 81.6%) |
| CIE-LAB | lab(5.15, 12.29, -22.25) |
| CIE-LCH | lch(5.15, 25.42, 298.90°) |
| OKLab | oklab(18.45% 0.0133 -0.066) |
| OKLCH | oklch(18.45% 0.067 281.4) |
| XYZ | xyz(0.8414, 0.5697, 2.7544) |
| Luminance | 0.0057 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 2.83
Dark Navy Blue
#00022E
ΔE00 3.42
Very Dark Blue
#000133
ΔE00 4.22
Dark Navy
#000435
ΔE00 4.23
Midnight Blue (survey)
#020035
ΔE00 4.58
Navy (survey)
#01153E
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F0C2F #2C2F0C
analogous
#0C1B2F #0F0C2F #210C2F
triadic
#0F0C2F #2F0F0C #0C2F0F
tetradic
#0F0C2F #2F0C1B #2C2F0C #0C2F21
square
#0F0C2F #2F0C1B #2C2F0C #0C2F21
split-complementary
#0F0C2F #2F210C #1B2F0C
monochromatic
#080618 #080618 #0F0C2F #1F1860 #2E2591
Accessibility & contrast
On white
18.85
#0F0C2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#0F0C2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F0C2F
18.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F0C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F0C2F | 1.00 | 18.85 | 1.11 | 18.85 |
| #FFFFFF | 18.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#02141B
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #0f0c2f; /* rgb */ color: rgb(15, 12, 47); /* oklch */ color: oklch(18.4% 0.067 281.4);
Tailwind
colors: {
custom: {
50: '#504c68',
500: '#0f0c2f',
950: '#000000',
},
}SCSS
$custom: #0f0c2f; $custom-light: #504c68; $custom-dark: #000000;
JSON
{
"hex": "#0f0c2f",
"rgb": {
"r": 15,
"g": 12,
"b": 47
},
"hsl": {
"h": 245.143,
"s": 59.322,
"l": 11.569
},
"oklch": {
"l": 0.18446,
"c": 0.06735,
"h": 281.4
},
"luminance": 0.0057
}Semantic roles & 50–950 ramp
primary
#0F0C2F
secondary
#656B2C
accent
#E345D5
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A