#645B95#645B95
#645B95 is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.5% C 0.091 H 289.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #645B95 |
|---|---|
| RGB | rgb(100, 91, 149) |
| HSL | hsl(249, 24%, 47%) |
| HSV | hsv(249, 39%, 58%) |
| CMYK | cmyk(32.9%, 38.9%, 0%, 41.6%) |
| CIE-LAB | lab(41.78, 17.60, -30.59) |
| CIE-LCH | lch(41.78, 35.29, 299.92°) |
| OKLab | oklab(50.5% 0.0309 -0.0855) |
| OKLCH | oklch(50.5% 0.091 289.9) |
| XYZ | xyz(14.4200, 12.3611, 30.0541) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.39
Dusk
#4E5481
ΔE00 5.92
Royal Purple
#7851A9
ΔE00 7.31
Dusky Blue
#475F94
ΔE00 8.53
Iris
#6258C4
ΔE00 8.98
Dark Lavender
#856798
ΔE00 9.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645B95 #8C955B
analogous
#5B6F95 #645B95 #815B95
triadic
#645B95 #95645B #5B9564
tetradic
#645B95 #955B6F #8C955B #5B9581
square
#645B95 #955B6F #8C955B #5B9581
split-complementary
#645B95 #95815B #6F955B
monochromatic
#312D49 #4A446F #645B95 #857DB0 #A9A3C7
Accessibility & contrast
On white
6.05
#645B95 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#645B95 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645B95
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645B95 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6497
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#586671
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #645b95; /* rgb */ color: rgb(100, 91, 149); /* oklch */ color: oklch(50.5% 0.091 289.9);
Tailwind
colors: {
custom: {
50: '#9289b4',
500: '#645b95',
950: '#000000',
},
}SCSS
$custom: #645b95; $custom-light: #9289b4; $custom-dark: #000000;
JSON
{
"hex": "#645b95",
"rgb": {
"r": 100,
"g": 91,
"b": 149
},
"hsl": {
"h": 249.31,
"s": 24.167,
"l": 47.059
},
"oklch": {
"l": 0.50502,
"c": 0.09096,
"h": 289.9
},
"luminance": 0.12361
}Semantic roles & 50–950 ramp
primary
#645B95
secondary
#B0B597
accent
#C167B3
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80