#645EA2#645EA2
#645EA2 is a mid, moderate blue. Relative luminance 0.133; OKLCH L 51.8% C 0.106 H 286.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #645EA2 |
|---|---|
| RGB | rgb(100, 94, 162) |
| HSL | hsl(245, 27%, 50%) |
| HSV | hsv(245, 42%, 64%) |
| CMYK | cmyk(38.3%, 42%, 0%, 36.5%) |
| CIE-LAB | lab(43.25, 19.42, -36.04) |
| CIE-LCH | lch(43.25, 40.94, 298.32°) |
| OKLab | oklab(51.83% 0.0293 -0.1014) |
| OKLCH | oklch(51.83% 0.106 286.1) |
| XYZ | xyz(15.7780, 13.3229, 35.9157) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 6.17
Iris
#6258C4
ΔE00 6.53
Royal Purple
#7851A9
ΔE00 7.11
Dusk
#4E5481
ΔE00 7.23
Dusky Blue
#475F94
ΔE00 7.54
Slate Blue
#6A5ACD
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645EA2 #9CA25E
analogous
#5E7AA2 #645EA2 #865EA2
triadic
#645EA2 #A2645E #5EA264
tetradic
#645EA2 #A25E7A #9CA25E #5EA286
square
#645EA2 #A25E7A #9CA25E #5EA286
split-complementary
#645EA2 #A2865E #7AA25E
monochromatic
#343155 #4C477B #645EA2 #8985B8 #AFACCF
Accessibility & contrast
On white
5.73
#645EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#645EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645EA2
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645EA2 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#4664A0
Tritanopia (blue-blind)
#536B78
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #645ea2; /* rgb */ color: rgb(100, 94, 162); /* oklch */ color: oklch(51.8% 0.106 286.1);
Tailwind
colors: {
custom: {
50: '#938bbe',
500: '#645ea2',
950: '#000000',
},
}SCSS
$custom: #645ea2; $custom-light: #938bbe; $custom-dark: #000000;
JSON
{
"hex": "#645ea2",
"rgb": {
"r": 100,
"g": 94,
"b": 162
},
"hsl": {
"h": 245.294,
"s": 26.772,
"l": 50.196
},
"oklch": {
"l": 0.51833,
"c": 0.10554,
"h": 286.1
},
"luminance": 0.13323
}Semantic roles & 50–950 ramp
primary
#645EA2
secondary
#BABD9F
accent
#C365BB
background
#F9F8FB
surface
#F1F0F7
border
#CBCBD0
text
#0D0C12
muted
#7E7D81