#0F0236#0F0236
#0F0236 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.2% C 0.094 H 284.1°. Best body text is #FFFFFF at 19.40:1 contrast (WCAG AA passes).
Color values
| HEX | #0F0236 |
|---|---|
| RGB | rgb(15, 2, 54) |
| HSL | hsl(255, 93%, 11%) |
| HSV | hsv(255, 96%, 21%) |
| CMYK | cmyk(72.2%, 96.3%, 0%, 78.8%) |
| CIE-LAB | lab(3.72, 20.19, -29.73) |
| CIE-LCH | lch(3.72, 35.94, 304.17°) |
| OKLab | oklab(17.19% 0.0229 -0.0913) |
| OKLCH | oklch(17.19% 0.094 284.1) |
| XYZ | xyz(0.8844, 0.4113, 3.5221) |
| Luminance | 0.0041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue (survey)
#020035
ΔE00 2.90
Very Dark Blue
#000133
ΔE00 3.70
Dark Navy
#000435
ΔE00 3.79
Midnight
#03012D
ΔE00 4.24
Night Blue
#040348
ΔE00 4.55
Dark Navy Blue
#00022E
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F0236 #293602
analogous
#020F36 #0F0236 #290236
triadic
#0F0236 #360F02 #02360F
tetradic
#0F0236 #36020F #293602 #023629
square
#0F0236 #36020F #293602 #023629
split-complementary
#0F0236 #362902 #0F3602
monochromatic
#08011E #08011E #0F0236 #1F0471 #3006AC
Accessibility & contrast
On white
19.40
#0F0236 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.08
#0F0236 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F0236
19.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F0236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F0236 | 1.00 | 19.40 | 1.08 | 19.40 |
| #FFFFFF | 19.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000F37
Deuteranopia (green-blind)
#000B35
Tritanopia (blue-blind)
#00111C
Achromatopsia (no color)
#0D0D0D
Design tokens & code
CSS
--color: #0f0236; /* rgb */ color: rgb(15, 2, 54); /* oklch */ color: oklch(17.2% 0.094 284.1);
Tailwind
colors: {
custom: {
50: '#52466e',
500: '#0f0236',
950: '#000000',
},
}SCSS
$custom: #0f0236; $custom-light: #52466e; $custom-dark: #000000;
JSON
{
"hex": "#0f0236",
"rgb": {
"r": 15,
"g": 2,
"b": 54
},
"hsl": {
"h": 255,
"s": 92.857,
"l": 10.98
},
"oklch": {
"l": 0.17189,
"c": 0.09414,
"h": 284.1
},
"luminance": 0.00411
}Semantic roles & 50–950 ramp
primary
#0F0236
secondary
#627A1A
accent
#FF29C9
background
#F4F3F6
surface
#E7E5EC
border
#C3C1C7
text
#030007
muted
#78777A