#424781#424781
#424781 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.3% C 0.096 H 277.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #424781 |
|---|---|
| RGB | rgb(66, 71, 129) |
| HSL | hsl(235, 32%, 38%) |
| HSV | hsv(235, 49%, 51%) |
| CMYK | cmyk(48.8%, 45%, 0%, 49.4%) |
| CIE-LAB | lab(32.37, 14.77, -33.46) |
| CIE-LCH | lch(32.37, 36.58, 293.82°) |
| OKLab | oklab(42.26% 0.0129 -0.0948) |
| OKLCH | oklch(42.26% 0.096 277.8) |
| XYZ | xyz(8.4612, 7.2493, 21.7180) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.55
Dusk
#4E5481
ΔE00 4.87
Darkslateblue
#483D8B
ΔE00 4.98
Blueberry
#464196
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 7.05
Denim Blue
#3B5B92
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#424781 #817C42
analogous
#426681 #424781 #5C4281
triadic
#424781 #814247 #478142
tetradic
#424781 #814266 #817C42 #42815C
square
#424781 #814266 #817C42 #42815C
split-complementary
#424781 #815C42 #668142
monochromatic
#191A30 #2D3159 #424781 #575EA9 #8085BE
Accessibility & contrast
On white
8.57
#424781 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#424781 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #424781
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##424781 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##424781 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304F83
Deuteranopia (green-blind)
#2B4A80
Tritanopia (blue-blind)
#2B535D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #424781; /* rgb */ color: rgb(66, 71, 129); /* oklch */ color: oklch(42.3% 0.096 277.8);
Tailwind
colors: {
custom: {
50: '#7a7aa6',
500: '#424781',
950: '#000000',
},
}SCSS
$custom: #424781; $custom-light: #7a7aa6; $custom-dark: #000000;
JSON
{
"hex": "#424781",
"rgb": {
"r": 66,
"g": 71,
"b": 129
},
"hsl": {
"h": 235.238,
"s": 32.308,
"l": 38.235
},
"oklch": {
"l": 0.4226,
"c": 0.09565,
"h": 277.8
},
"luminance": 0.0725
}Semantic roles & 50–950 ramp
primary
#424781
secondary
#A9A576
accent
#C05FC8
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#09090F
muted
#7B7B7F