#645BE2#645BE2
#645BE2 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.6% C 0.198 H 280.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #645BE2 |
|---|---|
| RGB | rgb(100, 91, 226) |
| HSL | hsl(244, 70%, 62%) |
| HSV | hsv(244, 60%, 89%) |
| CMYK | cmyk(55.8%, 59.7%, 0%, 11.4%) |
| CIE-LAB | lab(46.55, 40.68, -67.81) |
| CIE-LCH | lch(46.55, 79.07, 300.96°) |
| OKLab | oklab(55.6% 0.0371 -0.1946) |
| OKLCH | oklch(55.6% 0.198 280.8) |
| XYZ | xyz(22.7198, 15.6810, 73.7663) |
| Luminance | 0.1568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.59
Light Indigo
#6D5ACF
ΔE00 3.13
Slate Blue
#6A5ACD
ΔE00 3.16
Warm Blue
#4B57DB
ΔE00 3.93
Iris
#6258C4
ΔE00 4.39
Mediumslateblue
#7B68EE
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BE2 #D9E25B
analogous
#5B96E2 #645BE2 #A85BE2
triadic
#645BE2 #E2645B #5BE264
tetradic
#645BE2 #E25B96 #D9E25B #5BE2A8
square
#645BE2 #E25B96 #D9E25B #5BE2A8
split-complementary
#645BE2 #E2A85B #96E25B
monochromatic
#261DA5 #3327D9 #645BE2 #958FEB #C6C3F4
Accessibility & contrast
On white
5.08
#645BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#645BE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BE2
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BE2 | 1.00 | 5.08 | 4.14 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#227B96
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #645be2; /* rgb */ color: rgb(100, 91, 226); /* oklch */ color: oklch(55.6% 0.198 280.8);
Tailwind
colors: {
custom: {
50: '#9b8aec',
500: '#645be2',
950: '#000000',
},
}SCSS
$custom: #645be2; $custom-light: #9b8aec; $custom-dark: #000000;
JSON
{
"hex": "#645be2",
"rgb": {
"r": 100,
"g": 91,
"b": 226
},
"hsl": {
"h": 244,
"s": 69.948,
"l": 62.157
},
"oklch": {
"l": 0.556,
"c": 0.19815,
"h": 280.8
},
"luminance": 0.15682
}Semantic roles & 50–950 ramp
primary
#645BE2
secondary
#E2E5B4
accent
#D214C5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84