#142181#142181
#142181 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.159 H 268.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #142181 |
|---|---|
| RGB | rgb(20, 33, 129) |
| HSL | hsl(233, 73%, 29%) |
| HSV | hsv(233, 84%, 51%) |
| CMYK | cmyk(84.5%, 74.4%, 0%, 49.4%) |
| CIE-LAB | lab(19.31, 32.53, -54.78) |
| CIE-LCH | lch(19.31, 63.70, 300.70°) |
| OKLab | oklab(31.78% -0.0047 -0.1587) |
| OKLCH | oklch(31.78% 0.159 268.3) |
| XYZ | xyz(4.7934, 2.8208, 21.0565) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.21
Royal
#0C1793
ΔE00 3.79
Dark Royal Blue
#02066F
ΔE00 6.30
Darkblue
#00008B
ΔE00 6.46
Navy
#000080
ΔE00 6.56
Deep Blue
#040273
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142181 #817414
analogous
#145881 #142181 #3E1481
triadic
#142181 #811421 #218114
tetradic
#142181 #811458 #817414 #14813E
square
#142181 #811458 #817414 #14813E
split-complementary
#142181 #813E14 #588114
monochromatic
#04071A #0C134C #142181 #1C2FB6 #3045DF
Accessibility & contrast
On white
13.43
#142181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#142181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142181
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142181 | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #142181; /* rgb */ color: rgb(20, 33, 129); /* oklch */ color: oklch(31.8% 0.159 268.3);
Tailwind
colors: {
custom: {
50: '#685da7',
500: '#142181',
950: '#000000',
},
}SCSS
$custom: #142181; $custom-light: #685da7; $custom-dark: #000000;
JSON
{
"hex": "#142181",
"rgb": {
"r": 20,
"g": 33,
"b": 129
},
"hsl": {
"h": 232.844,
"s": 73.154,
"l": 29.216
},
"oklch": {
"l": 0.31775,
"c": 0.1588,
"h": 268.3
},
"luminance": 0.02821
}Semantic roles & 50–950 ramp
primary
#142181
secondary
#B6A73B
accent
#DA38F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F