#645BA2#645BA2
#645BA2 is a mid, moderate blue. Relative luminance 0.128; OKLCH L 51.2% C 0.110 H 287.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #645BA2 |
|---|---|
| RGB | rgb(100, 91, 162) |
| HSL | hsl(248, 28%, 50%) |
| HSV | hsv(248, 44%, 64%) |
| CMYK | cmyk(38.3%, 43.8%, 0%, 36.5%) |
| CIE-LAB | lab(42.46, 21.29, -37.28) |
| CIE-LCH | lch(42.46, 42.93, 299.72°) |
| OKLab | oklab(51.24% 0.0335 -0.105) |
| OKLCH | oklch(51.24% 0.11 287.7) |
| XYZ | xyz(15.5164, 12.7997, 35.8285) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 5.88
Iris
#6258C4
ΔE00 6.18
Royal Purple
#7851A9
ΔE00 6.26
Dusk
#4E5481
ΔE00 7.25
Slate Blue
#6A5ACD
ΔE00 7.32
Light Indigo
#6D5ACF
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BA2 #99A25B
analogous
#5B76A2 #645BA2 #885BA2
triadic
#645BA2 #A2645B #5BA264
tetradic
#645BA2 #A25B76 #99A25B #5BA288
square
#645BA2 #A25B76 #99A25B #5BA288
split-complementary
#645BA2 #A2885B #76A25B
monochromatic
#342F54 #4C457B #645BA2 #8982B9 #AEA9CF
Accessibility & contrast
On white
5.90
#645BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#645BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BA2
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BA2 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#4262A0
Tritanopia (blue-blind)
#536976
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #645ba2; /* rgb */ color: rgb(100, 91, 162); /* oklch */ color: oklch(51.2% 0.110 287.7);
Tailwind
colors: {
custom: {
50: '#9389be',
500: '#645ba2',
950: '#000000',
},
}SCSS
$custom: #645ba2; $custom-light: #9389be; $custom-dark: #000000;
JSON
{
"hex": "#645ba2",
"rgb": {
"r": 100,
"g": 91,
"b": 162
},
"hsl": {
"h": 247.606,
"s": 28.063,
"l": 49.608
},
"oklch": {
"l": 0.51236,
"c": 0.11022,
"h": 287.7
},
"luminance": 0.128
}Semantic roles & 50–950 ramp
primary
#645BA2
secondary
#B9BD9C
accent
#C463B8
background
#F9F8FB
surface
#F1F0F7
border
#CBCBD0
text
#0D0B12
muted
#7E7C81