#645AAF#645AAF
#645AAF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.8% C 0.131 H 286.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #645AAF |
|---|---|
| RGB | rgb(100, 90, 175) |
| HSL | hsl(247, 35%, 52%) |
| HSV | hsv(247, 49%, 69%) |
| CMYK | cmyk(42.9%, 48.6%, 0%, 31.4%) |
| CIE-LAB | lab(42.94, 25.71, -44.21) |
| CIE-LCH | lch(42.94, 51.14, 300.18°) |
| OKLab | oklab(51.84% 0.0366 -0.1253) |
| OKLCH | oklch(51.84% 0.131 286.3) |
| XYZ | xyz(16.6474, 13.1162, 42.2037) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.63
Slate Blue
#6A5ACD
ΔE00 4.88
Light Indigo
#6D5ACF
ΔE00 5.28
Dark Periwinkle
#665FD1
ΔE00 5.58
Royal Purple
#7851A9
ΔE00 6.08
Twilight
#4E518B
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645AAF #A5AF5A
analogous
#5A7BAF #645AAF #8F5AAF
triadic
#645AAF #AF645A #5AAF64
tetradic
#645AAF #AF5A7B #A5AF5A #5AAF8F
square
#645AAF #AF5A7B #A5AF5A #5AAF8F
split-complementary
#645AAF #AF8F5A #7BAF5A
monochromatic
#342F60 #4B4389 #645AAF #8B83C3 #B1ACD7
Accessibility & contrast
On white
5.80
#645AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#645AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645AAF
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645AAF | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3868B2
Deuteranopia (green-blind)
#3663AD
Tritanopia (blue-blind)
#4E6B7C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #645aaf; /* rgb */ color: rgb(100, 90, 175); /* oklch */ color: oklch(51.8% 0.131 286.3);
Tailwind
colors: {
custom: {
50: '#9488c7',
500: '#645aaf',
950: '#000000',
},
}SCSS
$custom: #645aaf; $custom-light: #9488c7; $custom-dark: #000000;
JSON
{
"hex": "#645aaf",
"rgb": {
"r": 100,
"g": 90,
"b": 175
},
"hsl": {
"h": 247.059,
"s": 34.694,
"l": 51.961
},
"oklch": {
"l": 0.51836,
"c": 0.13052,
"h": 286.3
},
"luminance": 0.13117
}Semantic roles & 50–950 ramp
primary
#645AAF
secondary
#C1C5A0
accent
#CB5DBE
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B13
muted
#7E7C82