#645AA5#645AA5
#645AA5 is a mid, moderate blue. Relative luminance 0.127; OKLCH L 51.2% C 0.116 H 287.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #645AA5 |
|---|---|
| RGB | rgb(100, 90, 165) |
| HSL | hsl(248, 29%, 50%) |
| HSV | hsv(248, 45%, 65%) |
| CMYK | cmyk(39.4%, 45.5%, 0%, 35.3%) |
| CIE-LAB | lab(42.37, 22.77, -39.21) |
| CIE-LCH | lch(42.37, 45.35, 300.15°) |
| OKLab | oklab(51.22% 0.0353 -0.1107) |
| OKLCH | oklch(51.22% 0.116 287.7) |
| XYZ | xyz(15.7013, 12.7378, 37.2214) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.50
Royal Purple
#7851A9
ΔE00 5.92
Twilight
#4E518B
ΔE00 6.11
Slate Blue
#6A5ACD
ΔE00 6.68
Light Indigo
#6D5ACF
ΔE00 7.04
Dark Periwinkle
#665FD1
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645AA5 #9BA55A
analogous
#5A75A5 #645AA5 #8A5AA5
triadic
#645AA5 #A5645A #5AA564
tetradic
#645AA5 #A55A75 #9BA55A #5AA58A
square
#645AA5 #A55A75 #9BA55A #5AA58A
split-complementary
#645AA5 #A58A5A #75A55A
monochromatic
#342F56 #4C447D #645AA5 #8982BB #AEA9D0
Accessibility & contrast
On white
5.92
#645AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#645AA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645AA5
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645AA5 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F66A8
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#526977
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #645aa5; /* rgb */ color: rgb(100, 90, 165); /* oklch */ color: oklch(51.2% 0.116 287.7);
Tailwind
colors: {
custom: {
50: '#9388c0',
500: '#645aa5',
950: '#000000',
},
}SCSS
$custom: #645aa5; $custom-light: #9388c0; $custom-dark: #000000;
JSON
{
"hex": "#645aa5",
"rgb": {
"r": 100,
"g": 90,
"b": 165
},
"hsl": {
"h": 248,
"s": 29.412,
"l": 50
},
"oklch": {
"l": 0.51218,
"c": 0.11615,
"h": 287.7
},
"luminance": 0.12738
}Semantic roles & 50–950 ramp
primary
#645AA5
secondary
#BABE9D
accent
#C662B8
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81