#645CBD#645CBD
#645CBD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.147 H 283.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #645CBD |
|---|---|
| RGB | rgb(100, 92, 189) |
| HSL | hsl(245, 42%, 55%) |
| HSV | hsv(245, 51%, 74%) |
| CMYK | cmyk(47.1%, 51.3%, 0%, 25.9%) |
| CIE-LAB | lab(44.29, 28.68, -50.24) |
| CIE-LCH | lch(44.29, 57.85, 299.72°) |
| OKLab | oklab(53.12% 0.0354 -0.143) |
| OKLCH | oklch(53.12% 0.147 283.9) |
| XYZ | xyz(18.2653, 14.0369, 49.8812) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.75
Slate Blue
#6A5ACD
ΔE00 2.80
Dark Periwinkle
#665FD1
ΔE00 3.18
Light Indigo
#6D5ACF
ΔE00 3.30
Warm Blue
#4B57DB
ΔE00 5.77
Royal Purple
#7851A9
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CBD #B5BD5C
analogous
#5C85BD #645CBD #945CBD
triadic
#645CBD #BD645C #5CBD64
tetradic
#645CBD #BD5C85 #B5BD5C #5CBD94
square
#645CBD #BD5C85 #B5BD5C #5CBD94
split-complementary
#645CBD #BD945C #85BD5C
monochromatic
#332E71 #473F9C #645CBD #8D88CF #B7B3E0
Accessibility & contrast
On white
5.52
#645CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#645CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CBD
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CBD | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6CC0
Deuteranopia (green-blind)
#2A66BB
Tritanopia (blue-blind)
#467184
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #645cbd; /* rgb */ color: rgb(100, 92, 189); /* oklch */ color: oklch(53.1% 0.147 283.9);
Tailwind
colors: {
custom: {
50: '#968ad1',
500: '#645cbd',
950: '#000000',
},
}SCSS
$custom: #645cbd; $custom-light: #968ad1; $custom-dark: #000000;
JSON
{
"hex": "#645cbd",
"rgb": {
"r": 100,
"g": 92,
"b": 189
},
"hsl": {
"h": 244.948,
"s": 42.358,
"l": 55.098
},
"oklch": {
"l": 0.53121,
"c": 0.14729,
"h": 283.9
},
"luminance": 0.14038
}Semantic roles & 50–950 ramp
primary
#645CBD
secondary
#CBCFA6
accent
#D256C8
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82