#424787#424787
#424787 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.7% C 0.105 H 277.6°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #424787 |
|---|---|
| RGB | rgb(66, 71, 135) |
| HSL | hsl(236, 34%, 39%) |
| HSV | hsv(236, 51%, 53%) |
| CMYK | cmyk(51.1%, 47.4%, 0%, 47.1%) |
| CIE-LAB | lab(32.73, 16.77, -36.59) |
| CIE-LCH | lch(32.73, 40.25, 294.61°) |
| OKLab | oklab(42.65% 0.0139 -0.104) |
| OKLCH | oklch(42.65% 0.105 277.6) |
| XYZ | xyz(8.8718, 7.4135, 23.8804) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.57
Blueberry
#464196
ΔE00 4.03
Darkslateblue
#483D8B
ΔE00 4.39
Dusk
#4E5481
ΔE00 5.45
Cobalt (survey)
#1E488F
ΔE00 6.60
Denim Blue
#3B5B92
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#424787 #878242
analogous
#426A87 #424787 #604287
triadic
#424787 #874247 #478742
tetradic
#424787 #87426A #878242 #428760
square
#424787 #87426A #878242 #428760
split-complementary
#424787 #876042 #6A8742
monochromatic
#1A1C35 #2E315E #424787 #595FAE #8286C2
Accessibility & contrast
On white
8.46
#424787 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#424787 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #424787
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##424787 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##424787 | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5089
Deuteranopia (green-blind)
#264A86
Tritanopia (blue-blind)
#275560
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #424787; /* rgb */ color: rgb(66, 71, 135); /* oklch */ color: oklch(42.7% 0.105 277.6);
Tailwind
colors: {
custom: {
50: '#7b7aaa',
500: '#424787',
950: '#000000',
},
}SCSS
$custom: #424787; $custom-light: #7b7aaa; $custom-dark: #000000;
JSON
{
"hex": "#424787",
"rgb": {
"r": 66,
"g": 71,
"b": 135
},
"hsl": {
"h": 235.652,
"s": 34.328,
"l": 39.412
},
"oklch": {
"l": 0.42653,
"c": 0.10488,
"h": 277.6
},
"luminance": 0.07414
}Semantic roles & 50–950 ramp
primary
#424787
secondary
#ACA978
accent
#C35DCA
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F