#645A9C#645A9C
#645A9C is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.7% C 0.103 H 289.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #645A9C |
|---|---|
| RGB | rgb(100, 90, 156) |
| HSL | hsl(249, 27%, 48%) |
| HSV | hsv(249, 42%, 61%) |
| CMYK | cmyk(35.9%, 42.3%, 0%, 38.8%) |
| CIE-LAB | lab(41.88, 20.19, -34.63) |
| CIE-LCH | lch(41.88, 40.09, 300.24°) |
| OKLab | oklab(50.69% 0.0338 -0.0973) |
| OKLCH | oklch(50.69% 0.103 289.1) |
| XYZ | xyz(14.9108, 12.4216, 33.0580) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.41
Royal Purple
#7851A9
ΔE00 6.33
Dusk
#4E5481
ΔE00 6.59
Iris
#6258C4
ΔE00 7.34
Dusky Blue
#475F94
ΔE00 8.33
Slate Blue
#6A5ACD
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645A9C #929C5A
analogous
#5A719C #645A9C #855A9C
triadic
#645A9C #9C645A #5A9C64
tetradic
#645A9C #9C5A71 #929C5A #5A9C85
square
#645A9C #9C5A71 #929C5A #5A9C85
split-complementary
#645A9C #9C855A #719C5A
monochromatic
#322D4E #4B4475 #645A9C #877EB5 #ABA5CB
Accessibility & contrast
On white
6.03
#645A9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#645A9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645A9C
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645A9C | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45649F
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#566673
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #645a9c; /* rgb */ color: rgb(100, 90, 156); /* oklch */ color: oklch(50.7% 0.103 289.1);
Tailwind
colors: {
custom: {
50: '#9288b9',
500: '#645a9c',
950: '#000000',
},
}SCSS
$custom: #645a9c; $custom-light: #9288b9; $custom-dark: #000000;
JSON
{
"hex": "#645a9c",
"rgb": {
"r": 100,
"g": 90,
"b": 156
},
"hsl": {
"h": 249.091,
"s": 26.829,
"l": 48.235
},
"oklch": {
"l": 0.50691,
"c": 0.10298,
"h": 289.1
},
"luminance": 0.12422
}Semantic roles & 50–950 ramp
primary
#645A9C
secondary
#B4B999
accent
#C365B5
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80