#0F0D4F#0F0D4F
#0F0D4F is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.3% C 0.115 H 273.3°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).
Color values
| HEX | #0F0D4F |
|---|---|
| RGB | rgb(15, 13, 79) |
| HSL | hsl(242, 72%, 18%) |
| HSV | hsv(242, 84%, 31%) |
| CMYK | cmyk(81%, 83.5%, 0%, 69%) |
| CIE-LAB | lab(8.60, 26.04, -39.53) |
| CIE-LCH | lch(8.60, 47.33, 303.38°) |
| OKLab | oklab(22.33% 0.0067 -0.1144) |
| OKLCH | oklch(22.33% 0.115 273.3) |
| XYZ | xyz(1.7517, 0.9537, 7.4874) |
| Luminance | 0.0095 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Night Blue
#040348
ΔE00 2.23
Dark Indigo
#1F0954
ΔE00 2.95
Navy Blue (survey)
#001146
ΔE00 3.69
Dark Blue
#00035B
ΔE00 3.91
Darkblue (survey)
#030764
ΔE00 4.45
Midnight Blue (survey)
#020035
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F0D4F #4D4F0D
analogous
#0D2C4F #0F0D4F #300D4F
triadic
#0F0D4F #4F0F0D #0D4F0F
tetradic
#0F0D4F #4F0D2C #4D4F0D #0D4F30
square
#0F0D4F #4F0D2C #4D4F0D #0D4F30
split-complementary
#0F0D4F #4F300D #2C4F0D
monochromatic
#05041A #05041A #0F0D4F #191684 #231EB8
Accessibility & contrast
On white
17.64
#0F0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.19
#0F0D4F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F0D4F
17.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F0D4F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F0D4F | 1.00 | 17.64 | 1.19 | 17.64 |
| #FFFFFF | 17.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 17.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001C51
Deuteranopia (green-blind)
#00154E
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#191919
Design tokens & code
CSS
--color: #0f0d4f; /* rgb */ color: rgb(15, 13, 79); /* oklch */ color: oklch(22.3% 0.115 273.3);
Tailwind
colors: {
custom: {
50: '#5a4d81',
500: '#0f0d4f',
950: '#000000',
},
}SCSS
$custom: #0f0d4f; $custom-light: #5a4d81; $custom-dark: #000000;
JSON
{
"hex": "#0f0d4f",
"rgb": {
"r": 15,
"g": 13,
"b": 79
},
"hsl": {
"h": 241.818,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.22329,
"c": 0.11455,
"h": 273.3
},
"luminance": 0.00954
}Semantic roles & 50–950 ramp
primary
#0F0D4F
secondary
#878A2E
accent
#EE39E9
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#04010A
muted
#79777C