#645E8A#645E8A
#645E8A is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.6% C 0.069 H 289.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #645E8A |
|---|---|
| RGB | rgb(100, 94, 138) |
| HSL | hsl(248, 19%, 45%) |
| HSV | hsv(248, 32%, 54%) |
| CMYK | cmyk(27.5%, 31.9%, 0%, 45.9%) |
| CIE-LAB | lab(42.08, 12.75, -23.52) |
| CIE-LCH | lch(42.08, 26.75, 298.46°) |
| OKLab | oklab(50.56% 0.0236 -0.0652) |
| OKLCH | oklch(50.56% 0.069 289.9) |
| XYZ | xyz(13.8445, 12.5495, 25.7327) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.78
Twilight
#4E518B
ΔE00 6.82
Dark Lavender
#856798
ΔE00 8.68
Muted Purple
#805B87
ΔE00 9.01
Dusky Blue
#475F94
ΔE00 9.27
Dusty Purple
#825F87
ΔE00 9.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645E8A #848A5E
analogous
#5E6E8A #645E8A #7A5E8A
triadic
#645E8A #8A645E #5E8A64
tetradic
#645E8A #8A5E6E #848A5E #5E8A7A
square
#645E8A #8A5E6E #848A5E #5E8A7A
split-complementary
#645E8A #8A7A5E #6E8A5E
monochromatic
#2F2C41 #4A4566 #645E8A #847EA7 #A6A2C0
Accessibility & contrast
On white
5.98
#645E8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#645E8A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645E8A
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645E8A | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52648C
Deuteranopia (green-blind)
#526289
Tritanopia (blue-blind)
#5C666E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #645e8a; /* rgb */ color: rgb(100, 94, 138); /* oklch */ color: oklch(50.6% 0.069 289.9);
Tailwind
colors: {
custom: {
50: '#918bac',
500: '#645e8a',
950: '#000000',
},
}SCSS
$custom: #645e8a; $custom-light: #918bac; $custom-dark: #000000;
JSON
{
"hex": "#645e8a",
"rgb": {
"r": 100,
"g": 94,
"b": 138
},
"hsl": {
"h": 248.182,
"s": 18.966,
"l": 45.49
},
"oklch": {
"l": 0.50555,
"c": 0.06933,
"h": 289.9
},
"luminance": 0.1255
}Semantic roles & 50–950 ramp
primary
#645E8A
secondary
#ABAE96
accent
#BC6CB1
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0D0C10
muted
#7D7D7F