#645A9B#645A9B
#645A9B is a mid, moderate blue. Relative luminance 0.124; OKLCH L 50.6% C 0.102 H 289.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #645A9B |
|---|---|
| RGB | rgb(100, 90, 155) |
| HSL | hsl(249, 27%, 48%) |
| HSV | hsv(249, 42%, 61%) |
| CMYK | cmyk(35.5%, 41.9%, 0%, 39.2%) |
| CIE-LAB | lab(41.83, 19.91, -34.12) |
| CIE-LCH | lch(41.83, 39.50, 300.26°) |
| OKLab | oklab(50.63% 0.0336 -0.0958) |
| OKLCH | oklch(50.63% 0.102 289.3) |
| XYZ | xyz(14.8265, 12.3878, 32.6139) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.36
Royal Purple
#7851A9
ΔE00 6.41
Dusk
#4E5481
ΔE00 6.49
Iris
#6258C4
ΔE00 7.55
Dusky Blue
#475F94
ΔE00 8.37
Slate Blue
#6A5ACD
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645A9B #919B5A
analogous
#5A709B #645A9B #845A9B
triadic
#645A9B #9B645A #5A9B64
tetradic
#645A9B #9B5A70 #919B5A #5A9B84
square
#645A9B #9B5A70 #919B5A #5A9B84
split-complementary
#645A9B #9B845A #709B5A
monochromatic
#322D4E #4B4474 #645A9B #867EB4 #ABA5CB
Accessibility & contrast
On white
6.04
#645A9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#645A9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645A9B
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645A9B | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#45649D
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#566673
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #645a9b; /* rgb */ color: rgb(100, 90, 155); /* oklch */ color: oklch(50.6% 0.102 289.3);
Tailwind
colors: {
custom: {
50: '#9288b9',
500: '#645a9b',
950: '#000000',
},
}SCSS
$custom: #645a9b; $custom-light: #9288b9; $custom-dark: #000000;
JSON
{
"hex": "#645a9b",
"rgb": {
"r": 100,
"g": 90,
"b": 155
},
"hsl": {
"h": 249.231,
"s": 26.531,
"l": 48.039
},
"oklch": {
"l": 0.50634,
"c": 0.1015,
"h": 289.3
},
"luminance": 0.12388
}Semantic roles & 50–950 ramp
primary
#645A9B
secondary
#B4B898
accent
#C365B4
background
#F9F8FB
surface
#F1F0F6
border
#CBCBD0
text
#0D0B11
muted
#7E7C80