#645CE2#645CE2
#645CE2 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.8% C 0.197 H 280.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #645CE2 |
|---|---|
| RGB | rgb(100, 92, 226) |
| HSL | hsl(244, 70%, 62%) |
| HSV | hsv(244, 59%, 89%) |
| CMYK | cmyk(55.8%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(46.78, 40.09, -67.44) |
| CIE-LCH | lch(46.78, 78.45, 300.73°) |
| OKLab | oklab(55.77% 0.0361 -0.1935) |
| OKLCH | oklch(55.77% 0.197 280.6) |
| XYZ | xyz(22.8059, 15.8531, 73.7950) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.48
Light Indigo
#6D5ACF
ΔE00 3.21
Slate Blue
#6A5ACD
ΔE00 3.24
Warm Blue
#4B57DB
ΔE00 4.00
Iris
#6258C4
ΔE00 4.48
Mediumslateblue
#7B68EE
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CE2 #DAE25C
analogous
#5C97E2 #645CE2 #A75CE2
triadic
#645CE2 #E2645C #5CE264
tetradic
#645CE2 #E25C97 #DAE25C #5CE2A7
square
#645CE2 #E25C97 #DAE25C #5CE2A7
split-complementary
#645CE2 #E2A75C #97E25C
monochromatic
#261EA6 #3328D9 #645CE2 #9590EB #C7C4F4
Accessibility & contrast
On white
5.03
#645CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#645CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CE2
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CE2 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#227C96
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #645ce2; /* rgb */ color: rgb(100, 92, 226); /* oklch */ color: oklch(55.8% 0.197 280.6);
Tailwind
colors: {
custom: {
50: '#9b8aec',
500: '#645ce2',
950: '#000000',
},
}SCSS
$custom: #645ce2; $custom-light: #9b8aec; $custom-dark: #000000;
JSON
{
"hex": "#645ce2",
"rgb": {
"r": 100,
"g": 92,
"b": 226
},
"hsl": {
"h": 243.582,
"s": 69.792,
"l": 62.353
},
"oklch": {
"l": 0.55767,
"c": 0.19689,
"h": 280.6
},
"luminance": 0.15855
}Semantic roles & 50–950 ramp
primary
#645CE2
secondary
#E2E5B4
accent
#D214C6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84