#645CA5#645CA5
#645CA5 is a mid, moderate blue. Relative luminance 0.131; OKLCH L 51.6% C 0.113 H 286.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #645CA5 |
|---|---|
| RGB | rgb(100, 92, 165) |
| HSL | hsl(247, 29%, 50%) |
| HSV | hsv(247, 44%, 65%) |
| CMYK | cmyk(39.4%, 44.2%, 0%, 35.3%) |
| CIE-LAB | lab(42.88, 21.53, -38.39) |
| CIE-LCH | lch(42.88, 44.02, 299.29°) |
| OKLab | oklab(51.61% 0.0326 -0.1082) |
| OKLCH | oklch(51.61% 0.113 286.8) |
| XYZ | xyz(15.8723, 13.0797, 37.2784) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.69
Twilight
#4E518B
ΔE00 6.22
Royal Purple
#7851A9
ΔE00 6.44
Slate Blue
#6A5ACD
ΔE00 6.81
Light Indigo
#6D5ACF
ΔE00 7.17
Dark Periwinkle
#665FD1
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CA5 #9DA55C
analogous
#5C78A5 #645CA5 #885CA5
triadic
#645CA5 #A5645C #5CA564
tetradic
#645CA5 #A55C78 #9DA55C #5CA588
square
#645CA5 #A55C78 #9DA55C #5CA588
split-complementary
#645CA5 #A5885C #78A55C
monochromatic
#343057 #4C467E #645CA5 #8983BB #AFABD1
Accessibility & contrast
On white
5.81
#645CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#645CA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CA5
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CA5 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#526A78
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #645ca5; /* rgb */ color: rgb(100, 92, 165); /* oklch */ color: oklch(51.6% 0.113 286.8);
Tailwind
colors: {
custom: {
50: '#938ac0',
500: '#645ca5',
950: '#000000',
},
}SCSS
$custom: #645ca5; $custom-light: #938ac0; $custom-dark: #000000;
JSON
{
"hex": "#645ca5",
"rgb": {
"r": 100,
"g": 92,
"b": 165
},
"hsl": {
"h": 246.575,
"s": 28.854,
"l": 50.392
},
"oklch": {
"l": 0.5161,
"c": 0.11305,
"h": 286.8
},
"luminance": 0.1308
}Semantic roles & 50–950 ramp
primary
#645CA5
secondary
#BBBF9E
accent
#C563BA
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81