#645FD5#645FD5
#645FD5 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.3% C 0.176 H 280.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #645FD5 |
|---|---|
| RGB | rgb(100, 95, 213) |
| HSL | hsl(243, 58%, 60%) |
| HSV | hsv(243, 55%, 84%) |
| CMYK | cmyk(53.1%, 55.4%, 0%, 16.5%) |
| CIE-LAB | lab(46.57, 34.25, -60.38) |
| CIE-LCH | lch(46.57, 69.42, 299.56°) |
| OKLab | oklab(55.33% 0.0332 -0.1728) |
| OKLCH | oklch(55.33% 0.176 280.9) |
| XYZ | xyz(21.3543, 15.6966, 64.8424) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.68
Slate Blue
#6A5ACD
ΔE00 2.39
Light Indigo
#6D5ACF
ΔE00 2.62
Iris
#6258C4
ΔE00 3.33
Warm Blue
#4B57DB
ΔE00 4.13
Mediumslateblue
#7B68EE
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FD5 #D0D55F
analogous
#5F95D5 #645FD5 #9F5FD5
triadic
#645FD5 #D5645F #5FD564
tetradic
#645FD5 #D55F95 #D0D55F #5FD59F
square
#645FD5 #D55F95 #D0D55F #5FD59F
split-complementary
#645FD5 #D59F5F #95D55F
monochromatic
#2B2793 #3933C3 #645FD5 #938FE2 #C2C0EE
Accessibility & contrast
On white
5.07
#645FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#645FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FD5
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FD5 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C73D9
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#327A91
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #645fd5; /* rgb */ color: rgb(100, 95, 213); /* oklch */ color: oklch(55.3% 0.176 280.9);
Tailwind
colors: {
custom: {
50: '#998ce3',
500: '#645fd5',
950: '#000000',
},
}SCSS
$custom: #645fd5; $custom-light: #998ce3; $custom-dark: #000000;
JSON
{
"hex": "#645fd5",
"rgb": {
"r": 100,
"g": 95,
"b": 213
},
"hsl": {
"h": 242.542,
"s": 58.416,
"l": 60.392
},
"oklch": {
"l": 0.55326,
"c": 0.17594,
"h": 280.9
},
"luminance": 0.15698
}Semantic roles & 50–950 ramp
primary
#645FD5
secondary
#DDDEB1
accent
#C61FBF
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C15
muted
#7E7D84