#645CA9#645CA9
#645CA9 is a mid, moderate blue. Relative luminance 0.132; OKLCH L 51.8% C 0.119 H 286.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #645CA9 |
|---|---|
| RGB | rgb(100, 92, 169) |
| HSL | hsl(246, 31%, 51%) |
| HSV | hsv(246, 46%, 66%) |
| CMYK | cmyk(40.8%, 45.6%, 0%, 33.7%) |
| CIE-LAB | lab(43.10, 22.70, -40.41) |
| CIE-LCH | lch(43.10, 46.35, 299.33°) |
| OKLab | oklab(51.85% 0.0332 -0.1141) |
| OKLCH | oklch(51.85% 0.119 286.2) |
| XYZ | xyz(16.2421, 13.2276, 39.2258) |
| Luminance | 0.1323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 6.06
Royal Purple
#7851A9
ΔE00 6.41
Light Indigo
#6D5ACF
ΔE00 6.44
Dark Periwinkle
#665FD1
ΔE00 6.55
Twilight
#4E518B
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CA9 #A1A95C
analogous
#5C7AA9 #645CA9 #8A5CA9
triadic
#645CA9 #A9645C #5CA964
tetradic
#645CA9 #A95C7A #A1A95C #5CA98A
square
#645CA9 #A95C7A #A1A95C #5CA98A
split-complementary
#645CA9 #A98A5C #7AA95C
monochromatic
#34305B #4B4583 #645CA9 #8A84BE #B0ACD3
Accessibility & contrast
On white
5.76
#645CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#645CA9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CA9
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CA9 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4068AC
Deuteranopia (green-blind)
#3E64A7
Tritanopia (blue-blind)
#506B7A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #645ca9; /* rgb */ color: rgb(100, 92, 169); /* oklch */ color: oklch(51.8% 0.119 286.2);
Tailwind
colors: {
custom: {
50: '#938ac3',
500: '#645ca9',
950: '#000000',
},
}SCSS
$custom: #645ca9; $custom-light: #938ac3; $custom-dark: #000000;
JSON
{
"hex": "#645ca9",
"rgb": {
"r": 100,
"g": 92,
"b": 169
},
"hsl": {
"h": 246.234,
"s": 30.924,
"l": 51.176
},
"oklch": {
"l": 0.5185,
"c": 0.11887,
"h": 286.2
},
"luminance": 0.13228
}Semantic roles & 50–950 ramp
primary
#645CA9
secondary
#BEC19F
accent
#C761BC
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B12
muted
#7E7C81