#423786#423786
#423786 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.127 H 285.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #423786 |
|---|---|
| RGB | rgb(66, 55, 134) |
| HSL | hsl(248, 42%, 37%) |
| HSV | hsv(248, 59%, 53%) |
| CMYK | cmyk(50.7%, 59%, 0%, 47.5%) |
| CIE-LAB | lab(28.41, 26.92, -42.91) |
| CIE-LCH | lch(28.41, 50.66, 302.10°) |
| OKLab | oklab(39.39% 0.0336 -0.1226) |
| OKLCH | oklch(39.39% 0.127 285.3) |
| XYZ | xyz(7.9148, 5.6115, 23.2157) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 1.90
Blueberry
#464196
ΔE00 3.66
Sapphire (survey)
#2138AB
ΔE00 7.28
Rebeccapurple
#663399
ΔE00 7.73
Ocean Blue
#4F42B5
ΔE00 7.84
Twilight
#4E518B
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#423786 #7B8637
analogous
#375486 #423786 #693786
triadic
#423786 #864237 #378642
tetradic
#423786 #863754 #7B8637 #378669
square
#423786 #863754 #7B8637 #378669
split-complementary
#423786 #866937 #548637
monochromatic
#17132F #2D255B #423786 #5749B1 #7E72C5
Accessibility & contrast
On white
9.89
#423786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#423786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #423786
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##423786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##423786 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#2A4959
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #423786; /* rgb */ color: rgb(66, 55, 134); /* oklch */ color: oklch(39.4% 0.127 285.3);
Tailwind
colors: {
custom: {
50: '#7c6eaa',
500: '#423786',
950: '#000000',
},
}SCSS
$custom: #423786; $custom-light: #7c6eaa; $custom-dark: #000000;
JSON
{
"hex": "#423786",
"rgb": {
"r": 66,
"g": 55,
"b": 134
},
"hsl": {
"h": 248.354,
"s": 41.799,
"l": 37.059
},
"oklch": {
"l": 0.39394,
"c": 0.12715,
"h": 285.3
},
"luminance": 0.05612
}Semantic roles & 50–950 ramp
primary
#423786
secondary
#A5AE6B
accent
#D256C0
background
#F7F6FA
surface
#EEECF4
border
#C9C7CE
text
#0A0710
muted
#7C7A7F