#645BDE#645BDE
#645BDE is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.3% C 0.193 H 281.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #645BDE |
|---|---|
| RGB | rgb(100, 91, 222) |
| HSL | hsl(244, 66%, 61%) |
| HSV | hsv(244, 59%, 87%) |
| CMYK | cmyk(55%, 59%, 0%, 12.9%) |
| CIE-LAB | lab(46.26, 39.44, -66.01) |
| CIE-LCH | lch(46.26, 76.89, 300.86°) |
| OKLab | oklab(55.3% 0.0372 -0.1894) |
| OKLCH | oklch(55.3% 0.193 281.1) |
| XYZ | xyz(22.1773, 15.4640, 70.9093) |
| Luminance | 0.1547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.14
Slate Blue
#6A5ACD
ΔE00 2.67
Light Indigo
#6D5ACF
ΔE00 2.70
Warm Blue
#4B57DB
ΔE00 3.77
Iris
#6258C4
ΔE00 3.86
Mediumslateblue
#7B68EE
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BDE #D5DE5B
analogous
#5B94DE #645BDE #A65BDE
triadic
#645BDE #DE645B #5BDE64
tetradic
#645BDE #DE5B94 #D5DE5B #5BDEA6
square
#645BDE #DE5B94 #D5DE5B #5BDEA6
split-complementary
#645BDE #DEA65B #94DE5B
monochromatic
#29209F #362AD2 #645BDE #948EE8 #C4C1F3
Accessibility & contrast
On white
5.13
#645BDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#645BDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BDE
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BDE | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#287A94
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #645bde; /* rgb */ color: rgb(100, 91, 222); /* oklch */ color: oklch(55.3% 0.193 281.1);
Tailwind
colors: {
custom: {
50: '#9a8ae9',
500: '#645bde',
950: '#000000',
},
}SCSS
$custom: #645bde; $custom-light: #9a8ae9; $custom-dark: #000000;
JSON
{
"hex": "#645bde",
"rgb": {
"r": 100,
"g": 91,
"b": 222
},
"hsl": {
"h": 244.122,
"s": 66.497,
"l": 61.373
},
"oklch": {
"l": 0.55295,
"c": 0.19298,
"h": 281.1
},
"luminance": 0.15465
}Semantic roles & 50–950 ramp
primary
#645BDE
secondary
#E0E3B2
accent
#CE17C2
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84