#645ED5#645ED5
#645ED5 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.1% C 0.177 H 281.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #645ED5 |
|---|---|
| RGB | rgb(100, 94, 213) |
| HSL | hsl(243, 59%, 60%) |
| HSV | hsv(243, 56%, 84%) |
| CMYK | cmyk(53.1%, 55.9%, 0%, 16.5%) |
| CIE-LAB | lab(46.34, 34.85, -60.77) |
| CIE-LCH | lch(46.34, 70.05, 299.84°) |
| OKLab | oklab(55.15% 0.0342 -0.1739) |
| OKLCH | oklch(55.15% 0.177 281.1) |
| XYZ | xyz(21.2648, 15.5176, 64.8126) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.71
Slate Blue
#6A5ACD
ΔE00 2.16
Light Indigo
#6D5ACF
ΔE00 2.40
Iris
#6258C4
ΔE00 3.12
Warm Blue
#4B57DB
ΔE00 4.00
Mediumslateblue
#7B68EE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645ED5 #CFD55E
analogous
#5E94D5 #645ED5 #9F5ED5
triadic
#645ED5 #D5645E #5ED564
tetradic
#645ED5 #D55E94 #CFD55E #5ED59F
square
#645ED5 #D55E94 #CFD55E #5ED59F
split-complementary
#645ED5 #D59F5E #94D55E
monochromatic
#2C2692 #3A33C3 #645ED5 #938FE2 #C1BFEE
Accessibility & contrast
On white
5.12
#645ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#645ED5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645ED5
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645ED5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645ED5 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0372D9
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#327990
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #645ed5; /* rgb */ color: rgb(100, 94, 213); /* oklch */ color: oklch(55.1% 0.177 281.1);
Tailwind
colors: {
custom: {
50: '#998ce3',
500: '#645ed5',
950: '#000000',
},
}SCSS
$custom: #645ed5; $custom-light: #998ce3; $custom-dark: #000000;
JSON
{
"hex": "#645ed5",
"rgb": {
"r": 100,
"g": 94,
"b": 213
},
"hsl": {
"h": 243.025,
"s": 58.621,
"l": 60.196
},
"oklch": {
"l": 0.55149,
"c": 0.17726,
"h": 281.1
},
"luminance": 0.15519
}Semantic roles & 50–950 ramp
primary
#645ED5
secondary
#DCDEB1
accent
#C61FBE
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C15
muted
#7E7D84