#645CE0#645CE0
#645CE0 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.6% C 0.194 H 280.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #645CE0 |
|---|---|
| RGB | rgb(100, 92, 224) |
| HSL | hsl(244, 68%, 62%) |
| HSV | hsv(244, 59%, 88%) |
| CMYK | cmyk(55.4%, 58.9%, 0%, 12.2%) |
| CIE-LAB | lab(46.64, 39.47, -66.54) |
| CIE-LCH | lch(46.64, 77.36, 300.68°) |
| OKLab | oklab(55.62% 0.0362 -0.1909) |
| OKLCH | oklch(55.62% 0.194 280.7) |
| XYZ | xyz(22.5330, 15.7440, 72.3581) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.24
Slate Blue
#6A5ACD
ΔE00 3.00
Light Indigo
#6D5ACF
ΔE00 3.00
Warm Blue
#4B57DB
ΔE00 3.91
Iris
#6258C4
ΔE00 4.22
Mediumslateblue
#7B68EE
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CE0 #D8E05C
analogous
#5C96E0 #645CE0 #A65CE0
triadic
#645CE0 #E0645C #5CE064
tetradic
#645CE0 #E05C96 #D8E05C #5CE0A6
square
#645CE0 #E05C96 #D8E05C #5CE0A6
split-complementary
#645CE0 #E0A65C #96E05C
monochromatic
#271FA3 #3329D6 #645CE0 #958FEA #C6C3F4
Accessibility & contrast
On white
5.06
#645CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#645CE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CE0
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CE0 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#006ADD
Tritanopia (blue-blind)
#257B95
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #645ce0; /* rgb */ color: rgb(100, 92, 224); /* oklch */ color: oklch(55.6% 0.194 280.7);
Tailwind
colors: {
custom: {
50: '#9a8aeb',
500: '#645ce0',
950: '#000000',
},
}SCSS
$custom: #645ce0; $custom-light: #9a8aeb; $custom-dark: #000000;
JSON
{
"hex": "#645ce0",
"rgb": {
"r": 100,
"g": 92,
"b": 224
},
"hsl": {
"h": 243.636,
"s": 68.041,
"l": 61.961
},
"oklch": {
"l": 0.55615,
"c": 0.19431,
"h": 280.7
},
"luminance": 0.15745
}Semantic roles & 50–950 ramp
primary
#645CE0
secondary
#E1E4B4
accent
#D016C5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84