#645EAA#645EAA
#645EAA is a mid, moderate blue. Relative luminance 0.136; OKLCH L 52.3% C 0.117 H 285.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #645EAA |
|---|---|
| RGB | rgb(100, 94, 170) |
| HSL | hsl(245, 31%, 52%) |
| HSV | hsv(245, 45%, 67%) |
| CMYK | cmyk(41.2%, 44.7%, 0%, 33.3%) |
| CIE-LAB | lab(43.68, 21.76, -40.08) |
| CIE-LCH | lch(43.68, 45.61, 298.49°) |
| OKLab | oklab(52.3% 0.0307 -0.1132) |
| OKLCH | oklch(52.3% 0.117 285.2) |
| XYZ | xyz(16.5119, 13.6164, 39.7806) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.03
Slate Blue
#6A5ACD
ΔE00 6.08
Dark Periwinkle
#665FD1
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 6.46
Twilight
#4E518B
ΔE00 6.93
Royal Purple
#7851A9
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645EAA #A4AA5E
analogous
#5E7EAA #645EAA #8A5EAA
triadic
#645EAA #AA645E #5EAA64
tetradic
#645EAA #AA5E7E #A4AA5E #5EAA8A
square
#645EAA #AA5E7E #A4AA5E #5EAA8A
split-complementary
#645EAA #AA8A5E #7EAA5E
monochromatic
#34315D #4B4685 #645EAA #8B86BF #B1AED4
Accessibility & contrast
On white
5.64
#645EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#645EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645EAA
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645EAA | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#4065A8
Tritanopia (blue-blind)
#506D7C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #645eaa; /* rgb */ color: rgb(100, 94, 170); /* oklch */ color: oklch(52.3% 0.117 285.2);
Tailwind
colors: {
custom: {
50: '#938bc4',
500: '#645eaa',
950: '#000000',
},
}SCSS
$custom: #645eaa; $custom-light: #938bc4; $custom-dark: #000000;
JSON
{
"hex": "#645eaa",
"rgb": {
"r": 100,
"g": 94,
"b": 170
},
"hsl": {
"h": 244.737,
"s": 30.894,
"l": 51.765
},
"oklch": {
"l": 0.52302,
"c": 0.11729,
"h": 285.2
},
"luminance": 0.13617
}Semantic roles & 50–950 ramp
primary
#645EAA
secondary
#C0C3A1
accent
#C761BF
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81