#0A0F2E#0A0F2E
#0A0F2E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.6% C 0.062 H 272.0°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).
Color values
| HEX | #0A0F2E |
|---|---|
| RGB | rgb(10, 15, 46) |
| HSL | hsl(232, 64%, 11%) |
| HSV | hsv(232, 78%, 18%) |
| CMYK | cmyk(78.3%, 67.4%, 0%, 82%) |
| CIE-LAB | lab(5.45, 8.83, -21.04) |
| CIE-LCH | lch(5.45, 22.82, 292.76°) |
| OKLab | oklab(18.6% 0.0022 -0.0621) |
| OKLCH | oklch(18.6% 0.062 272) |
| XYZ | xyz(0.7890, 0.6034, 2.6591) |
| Luminance | 0.0060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 3.25
Dark Navy Blue
#00022E
ΔE00 3.29
Navy (survey)
#01153E
ΔE00 4.18
Dark Navy
#000435
ΔE00 4.58
Very Dark Blue
#000133
ΔE00 4.66
Midnight Blue (survey)
#020035
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0A0F2E #2E290A
analogous
#0A212E #0A0F2E #170A2E
triadic
#0A0F2E #2E0A0F #0F2E0A
tetradic
#0A0F2E #2E0A21 #2E290A #0A2E17
square
#0A0F2E #2E0A21 #2E290A #0A2E17
split-complementary
#0A0F2E #2E170A #212E0A
monochromatic
#050819 #050819 #0A0F2E #151F60 #203093
Accessibility & contrast
On white
18.74
#0A0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.12
#0A0F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0A0F2E
18.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0A0F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0A0F2E | 1.00 | 18.74 | 1.12 | 18.74 |
| #FFFFFF | 18.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00142F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#121212
Design tokens & code
CSS
--color: #0a0f2e; /* rgb */ color: rgb(10, 15, 46); /* oklch */ color: oklch(18.6% 0.062 272.0);
Tailwind
colors: {
custom: {
50: '#4d4d67',
500: '#0a0f2e',
950: '#000000',
},
}SCSS
$custom: #0a0f2e; $custom-light: #4d4d67; $custom-dark: #000000;
JSON
{
"hex": "#0a0f2e",
"rgb": {
"r": 10,
"g": 15,
"b": 46
},
"hsl": {
"h": 231.667,
"s": 64.286,
"l": 10.98
},
"oklch": {
"l": 0.18599,
"c": 0.06216,
"h": 272
},
"luminance": 0.00603
}Semantic roles & 50–950 ramp
primary
#0A0F2E
secondary
#6B6229
accent
#D041E7
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#010106
muted
#77777A