#645AA3#645AA3
#645AA3 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 51.1% C 0.113 H 288.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #645AA3 |
|---|---|
| RGB | rgb(100, 90, 163) |
| HSL | hsl(248, 29%, 50%) |
| HSV | hsv(248, 45%, 64%) |
| CMYK | cmyk(38.7%, 44.8%, 0%, 36.1%) |
| CIE-LAB | lab(42.25, 22.19, -38.20) |
| CIE-LCH | lch(42.25, 44.18, 300.15°) |
| OKLab | oklab(51.1% 0.035 -0.1077) |
| OKLCH | oklch(51.1% 0.113 288) |
| XYZ | xyz(15.5207, 12.6655, 36.2702) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.89
Twilight
#4E518B
ΔE00 5.91
Royal Purple
#7851A9
ΔE00 5.97
Slate Blue
#6A5ACD
ΔE00 7.07
Light Indigo
#6D5ACF
ΔE00 7.41
Dusk
#4E5481
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645AA3 #99A35A
analogous
#5A75A3 #645AA3 #895AA3
triadic
#645AA3 #A3645A #5AA364
tetradic
#645AA3 #A35A75 #99A35A #5AA389
square
#645AA3 #A35A75 #99A35A #5AA389
split-complementary
#645AA3 #A3895A #75A35A
monochromatic
#342E54 #4C447C #645AA3 #8981B9 #AEA8CF
Accessibility & contrast
On white
5.94
#645AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#645AA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645AA3
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645AA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645AA3 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4065A6
Deuteranopia (green-blind)
#4062A1
Tritanopia (blue-blind)
#536876
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #645aa3; /* rgb */ color: rgb(100, 90, 163); /* oklch */ color: oklch(51.1% 0.113 288.0);
Tailwind
colors: {
custom: {
50: '#9388be',
500: '#645aa3',
950: '#000000',
},
}SCSS
$custom: #645aa3; $custom-light: #9388be; $custom-dark: #000000;
JSON
{
"hex": "#645aa3",
"rgb": {
"r": 100,
"g": 90,
"b": 163
},
"hsl": {
"h": 248.219,
"s": 28.854,
"l": 49.608
},
"oklch": {
"l": 0.51099,
"c": 0.11324,
"h": 288
},
"luminance": 0.12666
}Semantic roles & 50–950 ramp
primary
#645AA3
secondary
#B9BD9C
accent
#C563B8
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81