#423987#423987
#423987 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.126 H 284.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #423987 |
|---|---|
| RGB | rgb(66, 57, 135) |
| HSL | hsl(247, 41%, 38%) |
| HSV | hsv(247, 58%, 53%) |
| CMYK | cmyk(51.1%, 57.8%, 0%, 47.1%) |
| CIE-LAB | lab(28.99, 25.95, -42.60) |
| CIE-LCH | lch(28.99, 49.88, 301.35°) |
| OKLab | oklab(39.85% 0.0312 -0.1217) |
| OKLCH | oklch(39.85% 0.126 284.4) |
| XYZ | xyz(8.0818, 5.8334, 23.6171) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.46
Blueberry
#464196
ΔE00 3.16
Sapphire (survey)
#2138AB
ΔE00 7.11
Ocean Blue
#4F42B5
ΔE00 7.59
Twilight
#4E518B
ΔE00 7.82
Rebeccapurple
#663399
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#423987 #7E8739
analogous
#395787 #423987 #693987
triadic
#423987 #874239 #398742
tetradic
#423987 #873957 #7E8739 #398769
square
#423987 #873957 #7E8739 #398769
split-complementary
#423987 #876939 #578739
monochromatic
#181531 #2D275C #423987 #574BB2 #7F75C5
Accessibility & contrast
On white
9.69
#423987 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#423987 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #423987
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##423987 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##423987 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#004285
Tritanopia (blue-blind)
#294B5A
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #423987; /* rgb */ color: rgb(66, 57, 135); /* oklch */ color: oklch(39.8% 0.126 284.4);
Tailwind
colors: {
custom: {
50: '#7c6faa',
500: '#423987',
950: '#000000',
},
}SCSS
$custom: #423987; $custom-light: #7c6faa; $custom-dark: #000000;
JSON
{
"hex": "#423987",
"rgb": {
"r": 66,
"g": 57,
"b": 135
},
"hsl": {
"h": 246.923,
"s": 40.625,
"l": 37.647
},
"oklch": {
"l": 0.39845,
"c": 0.12565,
"h": 284.4
},
"luminance": 0.05834
}Semantic roles & 50–950 ramp
primary
#423987
secondary
#A7AE6E
accent
#D057C2
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F