#424797#424797
#424797 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.129 H 277.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #424797 |
|---|---|
| RGB | rgb(66, 71, 151) |
| HSL | hsl(236, 39%, 43%) |
| HSV | hsv(236, 56%, 59%) |
| CMYK | cmyk(56.3%, 53%, 0%, 40.8%) |
| CIE-LAB | lab(33.77, 22.18, -44.71) |
| CIE-LCH | lch(33.77, 49.91, 296.38°) |
| OKLab | oklab(43.77% 0.0157 -0.1278) |
| OKLCH | oklch(43.77% 0.129 277) |
| XYZ | xyz(10.0841, 7.8984, 30.2653) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.41
Darkslateblue
#483D8B
ΔE00 4.27
Twilight
#4E518B
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 5.82
Cobalt (survey)
#1E488F
ΔE00 6.35
Sapphire (survey)
#2138AB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#424797 #979242
analogous
#427197 #424797 #684297
triadic
#424797 #974247 #479742
tetradic
#424797 #974271 #979242 #429768
square
#424797 #974271 #979242 #429768
split-complementary
#424797 #976842 #719742
monochromatic
#1D1F42 #2F336C #424797 #5E63B8 #888CCB
Accessibility & contrast
On white
8.14
#424797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#424797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #424797
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##424797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##424797 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B539A
Deuteranopia (green-blind)
#0C4C95
Tritanopia (blue-blind)
#165968
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #424797; /* rgb */ color: rgb(66, 71, 151); /* oklch */ color: oklch(43.8% 0.129 277.0);
Tailwind
colors: {
custom: {
50: '#7e7ab6',
500: '#424797',
950: '#000000',
},
}SCSS
$custom: #424797; $custom-light: #7e7ab6; $custom-dark: #000000;
JSON
{
"hex": "#424797",
"rgb": {
"r": 66,
"g": 71,
"b": 151
},
"hsl": {
"h": 236.471,
"s": 39.171,
"l": 42.549
},
"oklch": {
"l": 0.43773,
"c": 0.12877,
"h": 277
},
"luminance": 0.07899
}Semantic roles & 50–950 ramp
primary
#424797
secondary
#B6B37F
accent
#C859CF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0911
muted
#7C7B80