#645EA9#645EA9
#645EA9 is a mid, moderate blue. Relative luminance 0.136; OKLCH L 52.2% C 0.116 H 285.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #645EA9 |
|---|---|
| RGB | rgb(100, 94, 169) |
| HSL | hsl(245, 30%, 52%) |
| HSV | hsv(245, 44%, 66%) |
| CMYK | cmyk(40.8%, 44.4%, 0%, 33.7%) |
| CIE-LAB | lab(43.62, 21.46, -39.58) |
| CIE-LCH | lch(43.62, 45.03, 298.47°) |
| OKLab | oklab(52.24% 0.0306 -0.1117) |
| OKLCH | oklch(52.24% 0.116 285.3) |
| XYZ | xyz(16.4176, 13.5787, 39.2843) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.21
Slate Blue
#6A5ACD
ΔE00 6.26
Dark Periwinkle
#665FD1
ΔE00 6.54
Light Indigo
#6D5ACF
ΔE00 6.63
Twilight
#4E518B
ΔE00 6.82
Royal Purple
#7851A9
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645EA9 #A3A95E
analogous
#5E7EA9 #645EA9 #8A5EA9
triadic
#645EA9 #A9645E #5EA964
tetradic
#645EA9 #A95E7E #A3A95E #5EA98A
square
#645EA9 #A95E7E #A3A95E #5EA98A
split-complementary
#645EA9 #A98A5E #7EA95E
monochromatic
#34315C #4B4684 #645EA9 #8A86BE #B1AED4
Accessibility & contrast
On white
5.65
#645EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#645EA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645EA9
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645EA9 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4369AC
Deuteranopia (green-blind)
#4165A7
Tritanopia (blue-blind)
#506D7B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #645ea9; /* rgb */ color: rgb(100, 94, 169); /* oklch */ color: oklch(52.2% 0.116 285.3);
Tailwind
colors: {
custom: {
50: '#938bc3',
500: '#645ea9',
950: '#000000',
},
}SCSS
$custom: #645ea9; $custom-light: #938bc3; $custom-dark: #000000;
JSON
{
"hex": "#645ea9",
"rgb": {
"r": 100,
"g": 94,
"b": 169
},
"hsl": {
"h": 244.8,
"s": 30.364,
"l": 51.569
},
"oklch": {
"l": 0.52242,
"c": 0.11583,
"h": 285.3
},
"luminance": 0.13579
}Semantic roles & 50–950 ramp
primary
#645EA9
secondary
#BFC2A1
accent
#C761BE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C12
muted
#7E7D81