#424271#424271
#424271 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.078 H 282.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #424271 |
|---|---|
| RGB | rgb(66, 66, 113) |
| HSL | hsl(240, 26%, 35%) |
| HSV | hsv(240, 42%, 44%) |
| CMYK | cmyk(41.6%, 41.6%, 0%, 55.7%) |
| CIE-LAB | lab(30.03, 12.92, -27.16) |
| CIE-LCH | lch(30.03, 30.08, 295.45°) |
| OKLab | oklab(40.17% 0.0167 -0.0764) |
| OKLCH | oklch(40.17% 0.078 282.3) |
| XYZ | xyz(7.1748, 6.2467, 16.4473) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 6.00
Dusk
#4E5481
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.44
Blueberry
#464196
ΔE00 7.61
Cobalt (survey)
#1E488F
ΔE00 9.79
Navy Blue
#1B2A4A
ΔE00 10.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#424271 #717142
analogous
#425971 #424271 #594271
triadic
#424271 #714242 #427142
tetradic
#424271 #714259 #717142 #427159
square
#424271 #714259 #717142 #427159
split-complementary
#424271 #715942 #597142
monochromatic
#151524 #2B2B4A #424271 #595998 #7B7BB2
Accessibility & contrast
On white
9.34
#424271 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#424271 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #424271
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##424271 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##424271 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#324873
Deuteranopia (green-blind)
#304570
Tritanopia (blue-blind)
#344B54
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #424271; /* rgb */ color: rgb(66, 66, 113); /* oklch */ color: oklch(40.2% 0.078 282.3);
Tailwind
colors: {
custom: {
50: '#79769a',
500: '#424271',
950: '#000000',
},
}SCSS
$custom: #424271; $custom-light: #79769a; $custom-dark: #000000;
JSON
{
"hex": "#424271",
"rgb": {
"r": 66,
"g": 66,
"b": 113
},
"hsl": {
"h": 240,
"s": 26.257,
"l": 35.098
},
"oklch": {
"l": 0.40175,
"c": 0.07819,
"h": 282.3
},
"luminance": 0.06247
}Semantic roles & 50–950 ramp
primary
#424271
secondary
#9D9D71
accent
#C365C3
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09080E
muted
#7B7B7E