#142281#142281
#142281 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.158 H 268.1°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).
Color values
| HEX | #142281 |
|---|---|
| RGB | rgb(20, 34, 129) |
| HSL | hsl(232, 73%, 29%) |
| HSV | hsv(232, 84%, 51%) |
| CMYK | cmyk(84.5%, 73.6%, 0%, 49.4%) |
| CIE-LAB | lab(19.55, 31.88, -54.39) |
| CIE-LCH | lch(19.55, 63.04, 300.38°) |
| OKLab | oklab(31.94% -0.0051 -0.1576) |
| OKLCH | oklch(31.94% 0.158 268.1) |
| XYZ | xyz(4.8216, 2.8772, 21.0659) |
| Luminance | 0.0288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.38
Royal
#0C1793
ΔE00 4.01
Dark Royal Blue
#02066F
ΔE00 6.56
Darkblue
#00008B
ΔE00 6.74
Navy
#000080
ΔE00 6.85
Deep Blue
#040273
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142281 #817314
analogous
#145981 #142281 #3D1481
triadic
#142281 #811422 #228114
tetradic
#142281 #811459 #817314 #14813D
square
#142281 #811459 #817314 #14813D
split-complementary
#142281 #813D14 #598114
monochromatic
#04071A #0C144C #142281 #1C30B6 #3047DF
Accessibility & contrast
On white
13.33
#142281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#142281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142281
13.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142281 | 1.00 | 13.33 | 1.58 | 13.33 |
| #FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #142281; /* rgb */ color: rgb(20, 34, 129); /* oklch */ color: oklch(31.9% 0.158 268.1);
Tailwind
colors: {
custom: {
50: '#685da7',
500: '#142281',
950: '#000000',
},
}SCSS
$custom: #142281; $custom-light: #685da7; $custom-dark: #000000;
JSON
{
"hex": "#142281",
"rgb": {
"r": 20,
"g": 34,
"b": 129
},
"hsl": {
"h": 232.294,
"s": 73.154,
"l": 29.216
},
"oklch": {
"l": 0.31943,
"c": 0.1577,
"h": 268.1
},
"luminance": 0.02878
}Semantic roles & 50–950 ramp
primary
#142281
secondary
#B6A63B
accent
#D838F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F