#645EA1#645EA1
#645EA1 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.8% C 0.104 H 286.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #645EA1 |
|---|---|
| RGB | rgb(100, 94, 161) |
| HSL | hsl(245, 26%, 50%) |
| HSV | hsv(245, 42%, 63%) |
| CMYK | cmyk(37.9%, 41.6%, 0%, 36.9%) |
| CIE-LAB | lab(43.19, 19.14, -35.53) |
| CIE-LCH | lch(43.19, 40.36, 298.31°) |
| OKLab | oklab(51.78% 0.0291 -0.0999) |
| OKLCH | oklch(51.78% 0.104 286.3) |
| XYZ | xyz(15.6895, 13.2874, 35.4494) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 6.09
Iris
#6258C4
ΔE00 6.73
Dusk
#4E5481
ΔE00 7.10
Royal Purple
#7851A9
ΔE00 7.15
Dusky Blue
#475F94
ΔE00 7.54
Slate Blue
#6A5ACD
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645EA1 #9BA15E
analogous
#5E7AA1 #645EA1 #855EA1
triadic
#645EA1 #A1645E #5EA164
tetradic
#645EA1 #A15E7A #9BA15E #5EA185
square
#645EA1 #A15E7A #9BA15E #5EA185
split-complementary
#645EA1 #A1855E #7AA15E
monochromatic
#343154 #4C477A #645EA1 #8985B8 #AEABCE
Accessibility & contrast
On white
5.74
#645EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#645EA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645EA1
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645EA1 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4868A4
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#546B78
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #645ea1; /* rgb */ color: rgb(100, 94, 161); /* oklch */ color: oklch(51.8% 0.104 286.3);
Tailwind
colors: {
custom: {
50: '#938bbd',
500: '#645ea1',
950: '#000000',
},
}SCSS
$custom: #645ea1; $custom-light: #938bbd; $custom-dark: #000000;
JSON
{
"hex": "#645ea1",
"rgb": {
"r": 100,
"g": 94,
"b": 161
},
"hsl": {
"h": 245.373,
"s": 26.275,
"l": 50
},
"oklch": {
"l": 0.51776,
"c": 0.10406,
"h": 286.3
},
"luminance": 0.13288
}Semantic roles & 50–950 ramp
primary
#645EA1
secondary
#BABC9E
accent
#C365BA
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C12
muted
#7E7D81