#645F94#645F94
#645F94 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.3% C 0.083 H 287.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #645F94 |
|---|---|
| RGB | rgb(100, 95, 148) |
| HSL | hsl(246, 22%, 48%) |
| HSV | hsv(246, 36%, 58%) |
| CMYK | cmyk(32.4%, 35.8%, 0%, 42%) |
| CIE-LAB | lab(42.81, 14.84, -28.39) |
| CIE-LCH | lch(42.81, 32.03, 297.60°) |
| OKLab | oklab(51.27% 0.0248 -0.0792) |
| OKLCH | oklch(51.27% 0.083 287.4) |
| XYZ | xyz(14.6916, 13.0315, 29.7525) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk
#4E5481
ΔE00 5.91
Twilight
#4E518B
ΔE00 6.04
Dusky Blue
#475F94
ΔE00 8.02
Royal Purple
#7851A9
ΔE00 8.62
Dark Lavender
#856798
ΔE00 8.94
Iris
#6258C4
ΔE00 9.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645F94 #8F945F
analogous
#5F7594 #645F94 #7E5F94
triadic
#645F94 #94645F #5F9464
tetradic
#645F94 #945F75 #8F945F #5F947E
square
#645F94 #945F75 #8F945F #5F947E
split-complementary
#645F94 #947E5F #75945F
monochromatic
#322F49 #4B476F #645F94 #8682AF #AAA7C6
Accessibility & contrast
On white
5.82
#645F94 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#645F94 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645F94
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645F94 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F6696
Deuteranopia (green-blind)
#4F6493
Tritanopia (blue-blind)
#586972
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #645f94; /* rgb */ color: rgb(100, 95, 148); /* oklch */ color: oklch(51.3% 0.083 287.4);
Tailwind
colors: {
custom: {
50: '#928cb3',
500: '#645f94',
950: '#000000',
},
}SCSS
$custom: #645f94; $custom-light: #928cb3; $custom-dark: #000000;
JSON
{
"hex": "#645f94",
"rgb": {
"r": 100,
"g": 95,
"b": 148
},
"hsl": {
"h": 245.66,
"s": 21.811,
"l": 47.647
},
"oklch": {
"l": 0.51271,
"c": 0.08297,
"h": 287.4
},
"luminance": 0.13032
}Semantic roles & 50–950 ramp
primary
#645F94
secondary
#B2B59A
accent
#BE69B6
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0C11
muted
#7E7D80