#645CD8#645CD8
#645CD8 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.184 H 281.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #645CD8 |
|---|---|
| RGB | rgb(100, 92, 216) |
| HSL | hsl(244, 61%, 60%) |
| HSV | hsv(244, 57%, 85%) |
| CMYK | cmyk(53.7%, 57.4%, 0%, 15.3%) |
| CIE-LAB | lab(46.07, 36.98, -62.91) |
| CIE-LCH | lch(46.07, 72.97, 300.45°) |
| OKLab | oklab(55.02% 0.0363 -0.1802) |
| OKLCH | oklch(55.02% 0.184 281.4) |
| XYZ | xyz(21.4735, 15.3202, 66.7780) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.35
Slate Blue
#6A5ACD
ΔE00 2.09
Light Indigo
#6D5ACF
ΔE00 2.25
Iris
#6258C4
ΔE00 3.18
Warm Blue
#4B57DB
ΔE00 3.77
Mediumslateblue
#7B68EE
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CD8 #D0D85C
analogous
#5C92D8 #645CD8 #A25CD8
triadic
#645CD8 #D8645C #5CD864
tetradic
#645CD8 #D85C92 #D0D85C #5CD8A2
square
#645CD8 #D85C92 #D0D85C #5CD8A2
split-complementary
#645CD8 #D8A25C #92D85C
monochromatic
#2B2496 #3930C7 #645CD8 #938DE4 #C2BFF0
Accessibility & contrast
On white
5.17
#645CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#645CD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CD8
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CD8 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#0069D5
Tritanopia (blue-blind)
#307991
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #645cd8; /* rgb */ color: rgb(100, 92, 216); /* oklch */ color: oklch(55.0% 0.184 281.4);
Tailwind
colors: {
custom: {
50: '#998ae5',
500: '#645cd8',
950: '#000000',
},
}SCSS
$custom: #645cd8; $custom-light: #998ae5; $custom-dark: #000000;
JSON
{
"hex": "#645cd8",
"rgb": {
"r": 100,
"g": 92,
"b": 216
},
"hsl": {
"h": 243.871,
"s": 61.386,
"l": 60.392
},
"oklch": {
"l": 0.55018,
"c": 0.18385,
"h": 281.4
},
"luminance": 0.15321
}Semantic roles & 50–950 ramp
primary
#645CD8
secondary
#DDE0B0
accent
#C91CBE
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84