#645FD2#645FD2
#645FD2 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.1% C 0.172 H 281.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #645FD2 |
|---|---|
| RGB | rgb(100, 95, 210) |
| HSL | hsl(243, 56%, 60%) |
| HSV | hsv(243, 55%, 82%) |
| CMYK | cmyk(52.4%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(46.37, 33.31, -58.99) |
| CIE-LCH | lch(46.37, 67.75, 299.45°) |
| OKLab | oklab(55.11% 0.0331 -0.1687) |
| OKLCH | oklch(55.11% 0.172 281.1) |
| XYZ | xyz(20.9770, 15.5457, 62.8555) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.39
Slate Blue
#6A5ACD
ΔE00 2.22
Light Indigo
#6D5ACF
ΔE00 2.51
Iris
#6258C4
ΔE00 3.02
Warm Blue
#4B57DB
ΔE00 4.22
Mediumslateblue
#7B68EE
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FD2 #CDD25F
analogous
#5F93D2 #645FD2 #9E5FD2
triadic
#645FD2 #D2645F #5FD264
tetradic
#645FD2 #D25F93 #CDD25F #5FD29E
square
#645FD2 #D25F93 #CDD25F #5FD29E
split-complementary
#645FD2 #D29E5F #93D25F
monochromatic
#2D288F #3B36BE #645FD2 #928FDF #C1BFED
Accessibility & contrast
On white
5.11
#645FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#645FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FD2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FD2 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1672D6
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#35798F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #645fd2; /* rgb */ color: rgb(100, 95, 210); /* oklch */ color: oklch(55.1% 0.172 281.1);
Tailwind
colors: {
custom: {
50: '#988ce0',
500: '#645fd2',
950: '#000000',
},
}SCSS
$custom: #645fd2; $custom-light: #988ce0; $custom-dark: #000000;
JSON
{
"hex": "#645fd2",
"rgb": {
"r": 100,
"g": 95,
"b": 210
},
"hsl": {
"h": 242.609,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.55112,
"c": 0.17191,
"h": 281.1
},
"luminance": 0.15547
}Semantic roles & 50–950 ramp
primary
#645FD2
secondary
#DBDDB0
accent
#DF48D9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83