#645CD0#645CD0
#645CD0 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.173 H 282.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #645CD0 |
|---|---|
| RGB | rgb(100, 92, 208) |
| HSL | hsl(244, 55%, 59%) |
| HSV | hsv(244, 56%, 82%) |
| CMYK | cmyk(51.9%, 55.8%, 0%, 18.4%) |
| CIE-LAB | lab(45.52, 34.51, -59.22) |
| CIE-LCH | lch(45.52, 68.54, 300.23°) |
| OKLab | oklab(54.44% 0.0363 -0.1694) |
| OKLCH | oklch(54.44% 0.173 282.1) |
| XYZ | xyz(20.4644, 14.9165, 61.4631) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.98
Slate Blue
#6A5ACD
ΔE00 1.44
Light Indigo
#6D5ACF
ΔE00 1.87
Iris
#6258C4
ΔE00 2.17
Warm Blue
#4B57DB
ΔE00 3.99
Mediumslateblue
#7B68EE
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CD0 #C8D05C
analogous
#5C8ED0 #645CD0 #9E5CD0
triadic
#645CD0 #D0645C #5CD064
tetradic
#645CD0 #D05C8E #C8D05C #5CD09E
square
#645CD0 #D05C8E #C8D05C #5CD09E
split-complementary
#645CD0 #D09E5C #8ED05C
monochromatic
#2F288A #3F35B9 #645CD0 #918CDE #BEBBEB
Accessibility & contrast
On white
5.27
#645CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#645CD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CD0
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CD0 | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0970D4
Deuteranopia (green-blind)
#0068CE
Tritanopia (blue-blind)
#38768D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #645cd0; /* rgb */ color: rgb(100, 92, 208); /* oklch */ color: oklch(54.4% 0.173 282.1);
Tailwind
colors: {
custom: {
50: '#988adf',
500: '#645cd0',
950: '#000000',
},
}SCSS
$custom: #645cd0; $custom-light: #988adf; $custom-dark: #000000;
JSON
{
"hex": "#645cd0",
"rgb": {
"r": 100,
"g": 92,
"b": 208
},
"hsl": {
"h": 244.138,
"s": 55.238,
"l": 58.824
},
"oklch": {
"l": 0.54436,
"c": 0.17323,
"h": 282.1
},
"luminance": 0.14918
}Semantic roles & 50–950 ramp
primary
#645CD0
secondary
#D8DBAD
accent
#DF49D4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83