#140C2F#140C2F
#140C2F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.067 H 289.0°. Best body text is #FFFFFF at 18.69:1 contrast (WCAG AA passes).
Color values
| HEX | #140C2F |
|---|---|
| RGB | rgb(20, 12, 47) |
| HSL | hsl(254, 59%, 12%) |
| HSV | hsv(254, 74%, 18%) |
| CMYK | cmyk(57.4%, 74.5%, 0%, 81.6%) |
| CIE-LAB | lab(5.57, 14.07, -21.55) |
| CIE-LCH | lch(5.57, 25.73, 303.14°) |
| OKLab | oklab(18.99% 0.0217 -0.0631) |
| OKLCH | oklch(18.99% 0.067 289) |
| XYZ | xyz(0.9329, 0.6169, 2.7587) |
| Luminance | 0.0062 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 4.12
Dark Navy Blue
#00022E
ΔE00 4.83
Very Dark Blue
#000133
ΔE00 5.29
Dark Navy
#000435
ΔE00 5.33
Midnight Blue (survey)
#020035
ΔE00 5.38
Navy (survey)
#01153E
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#140C2F #272F0C
analogous
#0C162F #140C2F #260C2F
triadic
#140C2F #2F140C #0C2F14
tetradic
#140C2F #2F0C16 #272F0C #0C2F26
square
#140C2F #2F0C16 #272F0C #0C2F26
split-complementary
#140C2F #2F260C #162F0C
monochromatic
#0A0618 #0A0618 #140C2F #291860 #3D2591
Accessibility & contrast
On white
18.69
#140C2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.12
#140C2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #140C2F
18.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##140C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##140C2F | 1.00 | 18.69 | 1.12 | 18.69 |
| #FFFFFF | 18.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#0B141B
Achromatopsia (no color)
#121212
Design tokens & code
CSS
--color: #140c2f; /* rgb */ color: rgb(20, 12, 47); /* oklch */ color: oklch(19.0% 0.067 289.0);
Tailwind
colors: {
custom: {
50: '#544b68',
500: '#140c2f',
950: '#000000',
},
}SCSS
$custom: #140c2f; $custom-light: #544b68; $custom-dark: #000000;
JSON
{
"hex": "#140c2f",
"rgb": {
"r": 20,
"g": 12,
"b": 47
},
"hsl": {
"h": 253.714,
"s": 59.322,
"l": 11.569
},
"oklch": {
"l": 0.1899,
"c": 0.06671,
"h": 289
},
"luminance": 0.00617
}Semantic roles & 50–950 ramp
primary
#140C2F
secondary
#5C6B2C
accent
#E345BF
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#030106
muted
#78777A