#645EE6#645EE6
#645EE6 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.4% C 0.200 H 279.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #645EE6 |
|---|---|
| RGB | rgb(100, 94, 230) |
| HSL | hsl(243, 73%, 64%) |
| HSV | hsv(243, 59%, 90%) |
| CMYK | cmyk(56.5%, 59.1%, 0%, 9.8%) |
| CIE-LAB | lab(47.53, 40.15, -68.48) |
| CIE-LCH | lch(47.53, 79.38, 300.38°) |
| OKLab | oklab(56.41% 0.0341 -0.1966) |
| OKLCH | oklch(56.41% 0.2 279.8) |
| XYZ | xyz(23.5367, 16.4263, 76.7779) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.90
Light Indigo
#6D5ACF
ΔE00 3.87
Slate Blue
#6A5ACD
ΔE00 3.93
Warm Blue
#4B57DB
ΔE00 4.43
Mediumslateblue
#7B68EE
ΔE00 4.95
Iris
#6258C4
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645EE6 #E0E65E
analogous
#5E9CE6 #645EE6 #A85EE6
triadic
#645EE6 #E6645E #5EE664
tetradic
#645EE6 #E65E9C #E0E65E #5EE6A8
square
#645EE6 #E65E9C #E0E65E #5EE6A8
split-complementary
#645EE6 #E6A85E #9CE65E
monochromatic
#221BAF #3129DE #645EE6 #9793EE #CAC8F6
Accessibility & contrast
On white
4.90
#645EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#645EE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645EE6
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645EE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645EE6 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#197F99
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #645ee6; /* rgb */ color: rgb(100, 94, 230); /* oklch */ color: oklch(56.4% 0.200 279.8);
Tailwind
colors: {
custom: {
50: '#9b8cef',
500: '#645ee6',
950: '#000000',
},
}SCSS
$custom: #645ee6; $custom-light: #9b8cef; $custom-dark: #000000;
JSON
{
"hex": "#645ee6",
"rgb": {
"r": 100,
"g": 94,
"b": 230
},
"hsl": {
"h": 242.647,
"s": 73.118,
"l": 63.529
},
"oklch": {
"l": 0.56409,
"c": 0.19955,
"h": 279.8
},
"luminance": 0.16428
}Semantic roles & 50–950 ramp
primary
#645EE6
secondary
#E6E8B8
accent
#D510CD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85