#645FE3#645FE3
#645FE3 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.4% C 0.194 H 279.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #645FE3 |
|---|---|
| RGB | rgb(100, 95, 227) |
| HSL | hsl(242, 70%, 63%) |
| HSV | hsv(242, 58%, 89%) |
| CMYK | cmyk(55.9%, 58.1%, 0%, 11%) |
| CIE-LAB | lab(47.54, 38.62, -66.76) |
| CIE-LCH | lch(47.54, 77.13, 300.05°) |
| OKLab | oklab(56.35% 0.0332 -0.1916) |
| OKLCH | oklch(56.35% 0.194 279.8) |
| XYZ | xyz(23.2085, 16.4383, 74.6081) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.52
Light Indigo
#6D5ACF
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 3.73
Warm Blue
#4B57DB
ΔE00 4.39
Mediumslateblue
#7B68EE
ΔE00 4.95
Iris
#6258C4
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FE3 #DEE35F
analogous
#5F9CE3 #645FE3 #A65FE3
triadic
#645FE3 #E3645F #5FE364
tetradic
#645FE3 #E35F9C #DEE35F #5FE3A6
square
#645FE3 #E35F9C #DEE35F #5FE3A6
split-complementary
#645FE3 #E3A65F #9CE35F
monochromatic
#231EAA #322BDA #645FE3 #9693EC #C9C7F5
Accessibility & contrast
On white
4.90
#645FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#645FE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FE3
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FE3 | 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)
#0076E7
Deuteranopia (green-blind)
#006CE0
Tritanopia (blue-blind)
#1F7E98
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #645fe3; /* rgb */ color: rgb(100, 95, 227); /* oklch */ color: oklch(56.4% 0.194 279.8);
Tailwind
colors: {
custom: {
50: '#9b8ced',
500: '#645fe3',
950: '#000000',
},
}SCSS
$custom: #645fe3; $custom-light: #9b8ced; $custom-dark: #000000;
JSON
{
"hex": "#645fe3",
"rgb": {
"r": 100,
"g": 95,
"b": 227
},
"hsl": {
"h": 242.273,
"s": 70.213,
"l": 63.137
},
"oklch": {
"l": 0.56353,
"c": 0.19442,
"h": 279.8
},
"luminance": 0.1644
}Semantic roles & 50–950 ramp
primary
#645FE3
secondary
#E5E7B7
accent
#D213CB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84