#645CE1#645CE1
#645CE1 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.7% C 0.196 H 280.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #645CE1 |
|---|---|
| RGB | rgb(100, 92, 225) |
| HSL | hsl(244, 69%, 62%) |
| HSV | hsv(244, 59%, 88%) |
| CMYK | cmyk(55.6%, 59.1%, 0%, 11.8%) |
| CIE-LAB | lab(46.71, 39.78, -66.99) |
| CIE-LCH | lch(46.71, 77.91, 300.70°) |
| OKLab | oklab(55.69% 0.0361 -0.1922) |
| OKLCH | oklch(55.69% 0.196 280.6) |
| XYZ | xyz(22.6690, 15.7984, 73.0744) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.36
Light Indigo
#6D5ACF
ΔE00 3.10
Slate Blue
#6A5ACD
ΔE00 3.12
Warm Blue
#4B57DB
ΔE00 3.95
Iris
#6258C4
ΔE00 4.35
Mediumslateblue
#7B68EE
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CE1 #D9E15C
analogous
#5C97E1 #645CE1 #A75CE1
triadic
#645CE1 #E1645C #5CE164
tetradic
#645CE1 #E15C97 #D9E15C #5CE1A7
square
#645CE1 #E15C97 #D9E15C #5CE1A7
split-complementary
#645CE1 #E1A75C #97E15C
monochromatic
#261EA4 #3328D7 #645CE1 #9590EB #C6C3F4
Accessibility & contrast
On white
5.05
#645CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#645CE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CE1
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CE1 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#237C96
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #645ce1; /* rgb */ color: rgb(100, 92, 225); /* oklch */ color: oklch(55.7% 0.196 280.6);
Tailwind
colors: {
custom: {
50: '#9b8aeb',
500: '#645ce1',
950: '#000000',
},
}SCSS
$custom: #645ce1; $custom-light: #9b8aeb; $custom-dark: #000000;
JSON
{
"hex": "#645ce1",
"rgb": {
"r": 100,
"g": 92,
"b": 225
},
"hsl": {
"h": 243.609,
"s": 68.912,
"l": 62.157
},
"oklch": {
"l": 0.55691,
"c": 0.1956,
"h": 280.6
},
"luminance": 0.158
}Semantic roles & 50–950 ramp
primary
#645CE1
secondary
#E2E5B4
accent
#D115C6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84