#645CD9#645CD9
#645CD9 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.1% C 0.185 H 281.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #645CD9 |
|---|---|
| RGB | rgb(100, 92, 217) |
| HSL | hsl(244, 62%, 61%) |
| HSV | hsv(244, 58%, 85%) |
| CMYK | cmyk(53.9%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(46.14, 37.29, -63.36) |
| CIE-LCH | lch(46.14, 73.52, 300.48°) |
| OKLab | oklab(55.09% 0.0363 -0.1816) |
| OKLCH | oklch(55.09% 0.185 281.3) |
| XYZ | xyz(21.6032, 15.3721, 67.4609) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.45
Slate Blue
#6A5ACD
ΔE00 2.19
Light Indigo
#6D5ACF
ΔE00 2.33
Iris
#6258C4
ΔE00 3.31
Warm Blue
#4B57DB
ΔE00 3.77
Mediumslateblue
#7B68EE
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CD9 #D1D95C
analogous
#5C92D9 #645CD9 #A25CD9
triadic
#645CD9 #D9645C #5CD964
tetradic
#645CD9 #D95C92 #D1D95C #5CD9A2
square
#645CD9 #D95C92 #D1D95C #5CD9A2
split-complementary
#645CD9 #D9A25C #92D95C
monochromatic
#2B2397 #392FC9 #645CD9 #938EE5 #C2BFF0
Accessibility & contrast
On white
5.15
#645CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#645CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CD9
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CD9 | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#2E7992
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #645cd9; /* rgb */ color: rgb(100, 92, 217); /* oklch */ color: oklch(55.1% 0.185 281.3);
Tailwind
colors: {
custom: {
50: '#998ae6',
500: '#645cd9',
950: '#000000',
},
}SCSS
$custom: #645cd9; $custom-light: #998ae6; $custom-dark: #000000;
JSON
{
"hex": "#645cd9",
"rgb": {
"r": 100,
"g": 92,
"b": 217
},
"hsl": {
"h": 243.84,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.55092,
"c": 0.18517,
"h": 281.3
},
"luminance": 0.15373
}Semantic roles & 50–950 ramp
primary
#645CD9
secondary
#DDE0B1
accent
#CA1CBF
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84