#142081#142081
#142081 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.160 H 268.4°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).
Color values
| HEX | #142081 |
|---|---|
| RGB | rgb(20, 32, 129) |
| HSL | hsl(233, 73%, 29%) |
| HSV | hsv(233, 84%, 51%) |
| CMYK | cmyk(84.5%, 75.2%, 0%, 49.4%) |
| CIE-LAB | lab(19.08, 33.16, -55.15) |
| CIE-LCH | lch(19.08, 64.36, 301.02°) |
| OKLab | oklab(31.61% -0.0044 -0.1598) |
| OKLCH | oklch(31.61% 0.16 268.4) |
| XYZ | xyz(4.7661, 2.7662, 21.0473) |
| Luminance | 0.0277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.06
Royal
#0C1793
ΔE00 3.59
Dark Royal Blue
#02066F
ΔE00 6.04
Darkblue
#00008B
ΔE00 6.18
Navy
#000080
ΔE00 6.28
Deep Blue
#040273
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#142081 #817514
analogous
#145781 #142081 #3E1481
triadic
#142081 #811420 #208114
tetradic
#142081 #811457 #817514 #14813E
square
#142081 #811457 #817514 #14813E
split-complementary
#142081 #813E14 #578114
monochromatic
#04071A #0C134C #142081 #1C2DB6 #3044DF
Accessibility & contrast
On white
13.52
#142081 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#142081 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #142081
13.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##142081 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##142081 | 1.00 | 13.52 | 1.55 | 13.52 |
| #FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#00297F
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #142081; /* rgb */ color: rgb(20, 32, 129); /* oklch */ color: oklch(31.6% 0.160 268.4);
Tailwind
colors: {
custom: {
50: '#685ca7',
500: '#142081',
950: '#000000',
},
}SCSS
$custom: #142081; $custom-light: #685ca7; $custom-dark: #000000;
JSON
{
"hex": "#142081",
"rgb": {
"r": 20,
"g": 32,
"b": 129
},
"hsl": {
"h": 233.394,
"s": 73.154,
"l": 29.216
},
"oklch": {
"l": 0.3161,
"c": 0.15989,
"h": 268.4
},
"luminance": 0.02767
}Semantic roles & 50–950 ramp
primary
#142081
secondary
#B6A83B
accent
#DC38F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F