#645F95#645F95
#645F95 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.3% C 0.085 H 287.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #645F95 |
|---|---|
| RGB | rgb(100, 95, 149) |
| HSL | hsl(246, 22%, 48%) |
| HSV | hsv(246, 36%, 58%) |
| CMYK | cmyk(32.9%, 36.2%, 0%, 41.6%) |
| CIE-LAB | lab(42.86, 15.12, -28.91) |
| CIE-LCH | lch(42.86, 32.62, 297.61°) |
| OKLab | oklab(51.32% 0.0251 -0.0807) |
| OKLCH | oklch(51.32% 0.085 287.3) |
| XYZ | xyz(14.7711, 13.0633, 30.1712) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.97
Twilight
#4E518B
ΔE00 5.99
Dusky Blue
#475F94
ΔE00 7.93
Royal Purple
#7851A9
ΔE00 8.49
Dark Lavender
#856798
ΔE00 9.00
Iris
#6258C4
ΔE00 9.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645F95 #90955F
analogous
#5F7595 #645F95 #7F5F95
triadic
#645F95 #95645F #5F9564
tetradic
#645F95 #955F75 #90955F #5F957F
square
#645F95 #955F75 #90955F #5F957F
split-complementary
#645F95 #957F5F #75955F
monochromatic
#322F4A #4B4770 #645F95 #8682AF #AAA7C7
Accessibility & contrast
On white
5.81
#645F95 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#645F95 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645F95
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645F95 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6797
Deuteranopia (green-blind)
#4E6494
Tritanopia (blue-blind)
#586973
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #645f95; /* rgb */ color: rgb(100, 95, 149); /* oklch */ color: oklch(51.3% 0.085 287.3);
Tailwind
colors: {
custom: {
50: '#928cb4',
500: '#645f95',
950: '#000000',
},
}SCSS
$custom: #645f95; $custom-light: #928cb4; $custom-dark: #000000;
JSON
{
"hex": "#645f95",
"rgb": {
"r": 100,
"g": 95,
"b": 149
},
"hsl": {
"h": 245.556,
"s": 22.131,
"l": 47.843
},
"oklch": {
"l": 0.51323,
"c": 0.0845,
"h": 287.3
},
"luminance": 0.13064
}Semantic roles & 50–950 ramp
primary
#645F95
secondary
#B3B59A
accent
#BF69B7
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80