#645CA4#645CA4
#645CA4 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.6% C 0.112 H 286.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #645CA4 |
|---|---|
| RGB | rgb(100, 92, 164) |
| HSL | hsl(247, 28%, 50%) |
| HSV | hsv(247, 44%, 64%) |
| CMYK | cmyk(39%, 43.9%, 0%, 35.7%) |
| CIE-LAB | lab(42.83, 21.24, -37.89) |
| CIE-LCH | lch(42.83, 43.44, 299.28°) |
| OKLab | oklab(51.55% 0.0324 -0.1068) |
| OKLCH | oklch(51.55% 0.112 286.9) |
| XYZ | xyz(15.7817, 13.0434, 36.8009) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.88
Twilight
#4E518B
ΔE00 6.13
Royal Purple
#7851A9
ΔE00 6.47
Slate Blue
#6A5ACD
ΔE00 7.00
Light Indigo
#6D5ACF
ΔE00 7.35
Dusk
#4E5481
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CA4 #9CA45C
analogous
#5C78A4 #645CA4 #885CA4
triadic
#645CA4 #A4645C #5CA464
tetradic
#645CA4 #A45C78 #9CA45C #5CA488
square
#645CA4 #A45C78 #9CA45C #5CA488
split-complementary
#645CA4 #A4885C #78A45C
monochromatic
#343056 #4C467D #645CA4 #8983BA #AFABD0
Accessibility & contrast
On white
5.82
#645CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#645CA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CA4
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CA4 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4367A7
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#526A78
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #645ca4; /* rgb */ color: rgb(100, 92, 164); /* oklch */ color: oklch(51.6% 0.112 286.9);
Tailwind
colors: {
custom: {
50: '#938abf',
500: '#645ca4',
950: '#000000',
},
}SCSS
$custom: #645ca4; $custom-light: #938abf; $custom-dark: #000000;
JSON
{
"hex": "#645ca4",
"rgb": {
"r": 100,
"g": 92,
"b": 164
},
"hsl": {
"h": 246.667,
"s": 28.346,
"l": 50.196
},
"oklch": {
"l": 0.51551,
"c": 0.11159,
"h": 286.9
},
"luminance": 0.13044
}Semantic roles & 50–950 ramp
primary
#645CA4
secondary
#BABE9E
accent
#C563BA
background
#F9F8FB
surface
#F2F0F7
border
#CCCBD0
text
#0D0B12
muted
#7E7C81