#645E97#645E97
#645E97 is a mid, moderate blue. Relative luminance 0.129; OKLCH L 51.2% C 0.089 H 287.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #645E97 |
|---|---|
| RGB | rgb(100, 94, 151) |
| HSL | hsl(246, 23%, 48%) |
| HSV | hsv(246, 38%, 59%) |
| CMYK | cmyk(33.8%, 37.7%, 0%, 40.8%) |
| CIE-LAB | lab(42.69, 16.30, -30.37) |
| CIE-LCH | lch(42.69, 34.47, 298.22°) |
| OKLab | oklab(51.22% 0.027 -0.0849) |
| OKLCH | oklch(51.22% 0.089 287.6) |
| XYZ | xyz(14.8427, 12.9487, 30.9895) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.77
Dusk
#4E5481
ΔE00 6.07
Dusky Blue
#475F94
ΔE00 7.92
Royal Purple
#7851A9
ΔE00 7.95
Iris
#6258C4
ΔE00 8.85
Dark Lavender
#856798
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645E97 #91975E
analogous
#5E7497 #645E97 #805E97
triadic
#645E97 #97645E #5E9764
tetradic
#645E97 #975E74 #91975E #5E9780
square
#645E97 #975E74 #91975E #5E9780
split-complementary
#645E97 #97805E #74975E
monochromatic
#322F4C #4B4771 #645E97 #8681B1 #ABA7C8
Accessibility & contrast
On white
5.85
#645E97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#645E97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645E97
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645E97 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6699
Deuteranopia (green-blind)
#4C6396
Tritanopia (blue-blind)
#576973
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #645e97; /* rgb */ color: rgb(100, 94, 151); /* oklch */ color: oklch(51.2% 0.089 287.6);
Tailwind
colors: {
custom: {
50: '#928bb6',
500: '#645e97',
950: '#000000',
},
}SCSS
$custom: #645e97; $custom-light: #928bb6; $custom-dark: #000000;
JSON
{
"hex": "#645e97",
"rgb": {
"r": 100,
"g": 94,
"b": 151
},
"hsl": {
"h": 246.316,
"s": 23.265,
"l": 48.039
},
"oklch": {
"l": 0.51223,
"c": 0.08912,
"h": 287.6
},
"luminance": 0.12949
}Semantic roles & 50–950 ramp
primary
#645E97
secondary
#B4B79A
accent
#C068B7
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80