#645CAA#645CAA
#645CAA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.120 H 286.1°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #645CAA |
|---|---|
| RGB | rgb(100, 92, 170) |
| HSL | hsl(246, 31%, 51%) |
| HSV | hsv(246, 46%, 67%) |
| CMYK | cmyk(41.2%, 45.9%, 0%, 33.3%) |
| CIE-LAB | lab(43.16, 23.00, -40.91) |
| CIE-LCH | lch(43.16, 46.93, 299.34°) |
| OKLab | oklab(51.91% 0.0334 -0.1156) |
| OKLCH | oklch(51.91% 0.12 286.1) |
| XYZ | xyz(16.3363, 13.2653, 39.7221) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.74
Slate Blue
#6A5ACD
ΔE00 5.88
Light Indigo
#6D5ACF
ΔE00 6.26
Dark Periwinkle
#665FD1
ΔE00 6.37
Royal Purple
#7851A9
ΔE00 6.42
Twilight
#4E518B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CAA #A2AA5C
analogous
#5C7BAA #645CAA #8B5CAA
triadic
#645CAA #AA645C #5CAA64
tetradic
#645CAA #AA5C7B #A2AA5C #5CAA8B
square
#645CAA #AA5C7B #A2AA5C #5CAA8B
split-complementary
#645CAA #AA8B5C #7BAA5C
monochromatic
#34305C #4B4584 #645CAA #8A84BF #B1ACD4
Accessibility & contrast
On white
5.75
#645CAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#645CAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CAA
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CAA | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#3D64A8
Tritanopia (blue-blind)
#506C7B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #645caa; /* rgb */ color: rgb(100, 92, 170); /* oklch */ color: oklch(51.9% 0.120 286.1);
Tailwind
colors: {
custom: {
50: '#948ac4',
500: '#645caa',
950: '#000000',
},
}SCSS
$custom: #645caa; $custom-light: #948ac4; $custom-dark: #000000;
JSON
{
"hex": "#645caa",
"rgb": {
"r": 100,
"g": 92,
"b": 170
},
"hsl": {
"h": 246.154,
"s": 31.452,
"l": 51.373
},
"oklch": {
"l": 0.5191,
"c": 0.12032,
"h": 286.1
},
"luminance": 0.13266
}Semantic roles & 50–950 ramp
primary
#645CAA
secondary
#BFC2A0
accent
#C860BD
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81