#645EE3#645EE3
#645EE3 is a mid, vivid blue. Relative luminance 0.163; OKLCH L 56.2% C 0.196 H 280.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #645EE3 |
|---|---|
| RGB | rgb(100, 94, 227) |
| HSL | hsl(243, 70%, 63%) |
| HSV | hsv(243, 59%, 89%) |
| CMYK | cmyk(55.9%, 58.6%, 0%, 11%) |
| CIE-LAB | lab(47.31, 39.21, -67.14) |
| CIE-LCH | lch(47.31, 77.75, 300.29°) |
| OKLab | oklab(56.18% 0.0342 -0.1927) |
| OKLCH | oklch(56.18% 0.196 280.1) |
| XYZ | xyz(23.1190, 16.2593, 74.5783) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.51
Light Indigo
#6D5ACF
ΔE00 3.56
Slate Blue
#6A5ACD
ΔE00 3.59
Warm Blue
#4B57DB
ΔE00 4.25
Iris
#6258C4
ΔE00 4.84
Mediumslateblue
#7B68EE
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645EE3 #DDE35E
analogous
#5E9AE3 #645EE3 #A75EE3
triadic
#645EE3 #E3645E #5EE364
tetradic
#645EE3 #E35E9A #DDE35E #5EE3A7
square
#645EE3 #E35E9A #DDE35E #5EE3A7
split-complementary
#645EE3 #E3A75E #9AE35E
monochromatic
#241DA9 #322ADA #645EE3 #9692EC #C8C6F5
Accessibility & contrast
On white
4.94
#645EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#645EE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645EE3
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645EE3 | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#207E97
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #645ee3; /* rgb */ color: rgb(100, 94, 227); /* oklch */ color: oklch(56.2% 0.196 280.1);
Tailwind
colors: {
custom: {
50: '#9b8ced',
500: '#645ee3',
950: '#000000',
},
}SCSS
$custom: #645ee3; $custom-light: #9b8ced; $custom-dark: #000000;
JSON
{
"hex": "#645ee3",
"rgb": {
"r": 100,
"g": 94,
"b": 227
},
"hsl": {
"h": 242.707,
"s": 70.37,
"l": 62.941
},
"oklch": {
"l": 0.56182,
"c": 0.19567,
"h": 280.1
},
"luminance": 0.16261
}Semantic roles & 50–950 ramp
primary
#645EE3
secondary
#E4E6B6
accent
#D213CA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84