#645ECF#645ECF
#645ECF is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.7% C 0.169 H 281.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #645ECF |
|---|---|
| RGB | rgb(100, 94, 207) |
| HSL | hsl(243, 54%, 59%) |
| HSV | hsv(243, 55%, 81%) |
| CMYK | cmyk(51.7%, 54.6%, 0%, 18.8%) |
| CIE-LAB | lab(45.93, 32.99, -57.98) |
| CIE-LCH | lch(45.93, 66.71, 299.64°) |
| OKLab | oklab(54.72% 0.0341 -0.1657) |
| OKLCH | oklch(54.72% 0.169 281.6) |
| XYZ | xyz(20.5173, 15.2186, 60.8757) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.53
Slate Blue
#6A5ACD
ΔE00 1.85
Light Indigo
#6D5ACF
ΔE00 2.24
Iris
#6258C4
ΔE00 2.48
Warm Blue
#4B57DB
ΔE00 4.22
Mediumslateblue
#7B68EE
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645ECF #C9CF5E
analogous
#5E91CF #645ECF #9D5ECF
triadic
#645ECF #CF645E #5ECF64
tetradic
#645ECF #CF5E91 #C9CF5E #5ECF9D
square
#645ECF #CF5E91 #C9CF5E #5ECF9D
split-complementary
#645ECF #CF9D5E #91CF5E
monochromatic
#2E298A #3E37B9 #645ECF #918DDD #BFBCEB
Accessibility & contrast
On white
5.19
#645ECF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#645ECF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645ECF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645ECF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645ECF | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1871D3
Deuteranopia (green-blind)
#0369CD
Tritanopia (blue-blind)
#38788D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #645ecf; /* rgb */ color: rgb(100, 94, 207); /* oklch */ color: oklch(54.7% 0.169 281.6);
Tailwind
colors: {
custom: {
50: '#988cde',
500: '#645ecf',
950: '#000000',
},
}SCSS
$custom: #645ecf; $custom-light: #988cde; $custom-dark: #000000;
JSON
{
"hex": "#645ecf",
"rgb": {
"r": 100,
"g": 94,
"b": 207
},
"hsl": {
"h": 243.186,
"s": 54.067,
"l": 59.02
},
"oklch": {
"l": 0.54721,
"c": 0.16921,
"h": 281.6
},
"luminance": 0.1522
}Semantic roles & 50–950 ramp
primary
#645ECF
secondary
#D8DBAE
accent
#DD4AD6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83