#645FD9#645FD9
#645FD9 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.6% C 0.181 H 280.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #645FD9 |
|---|---|
| RGB | rgb(100, 95, 217) |
| HSL | hsl(242, 62%, 61%) |
| HSV | hsv(242, 56%, 85%) |
| CMYK | cmyk(53.9%, 56.2%, 0%, 14.9%) |
| CIE-LAB | lab(46.85, 35.49, -62.22) |
| CIE-LCH | lch(46.85, 71.63, 299.70°) |
| OKLab | oklab(55.61% 0.0332 -0.1782) |
| OKLCH | oklch(55.61% 0.181 280.6) |
| XYZ | xyz(21.8682, 15.9021, 67.5493) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.19
Slate Blue
#6A5ACD
ΔE00 2.71
Light Indigo
#6D5ACF
ΔE00 2.85
Iris
#6258C4
ΔE00 3.78
Warm Blue
#4B57DB
ΔE00 4.10
Mediumslateblue
#7B68EE
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FD9 #D4D95F
analogous
#5F97D9 #645FD9 #A15FD9
triadic
#645FD9 #D9645F #5FD964
tetradic
#645FD9 #D95F97 #D4D95F #5FD9A1
square
#645FD9 #D95F97 #D4D95F #5FD9A1
split-complementary
#645FD9 #D9A15F #97D95F
monochromatic
#292499 #3630CB #645FD9 #9490E5 #C4C2F0
Accessibility & contrast
On white
5.02
#645FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#645FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FD9
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FD9 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#2E7B93
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #645fd9; /* rgb */ color: rgb(100, 95, 217); /* oklch */ color: oklch(55.6% 0.181 280.6);
Tailwind
colors: {
custom: {
50: '#998ce5',
500: '#645fd9',
950: '#000000',
},
}SCSS
$custom: #645fd9; $custom-light: #998ce5; $custom-dark: #000000;
JSON
{
"hex": "#645fd9",
"rgb": {
"r": 100,
"g": 95,
"b": 217
},
"hsl": {
"h": 242.459,
"s": 61.616,
"l": 61.176
},
"oklch": {
"l": 0.55614,
"c": 0.18127,
"h": 280.6
},
"luminance": 0.15903
}Semantic roles & 50–950 ramp
primary
#645FD9
secondary
#DFE1B3
accent
#C91CC2
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C16
muted
#7E7D84