#645BBF#645BBF
#645BBF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.151 H 284.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #645BBF |
|---|---|
| RGB | rgb(100, 91, 191) |
| HSL | hsl(245, 44%, 55%) |
| HSV | hsv(245, 52%, 75%) |
| CMYK | cmyk(47.6%, 52.4%, 0%, 25.1%) |
| CIE-LAB | lab(44.16, 29.90, -51.59) |
| CIE-LCH | lch(44.16, 59.63, 300.10°) |
| OKLab | oklab(53.07% 0.0368 -0.147) |
| OKLCH | oklch(53.07% 0.152 284) |
| XYZ | xyz(18.3978, 13.9522, 51.0038) |
| Luminance | 0.1395 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.29
Slate Blue
#6A5ACD
ΔE00 2.42
Light Indigo
#6D5ACF
ΔE00 2.95
Dark Periwinkle
#665FD1
ΔE00 2.99
Warm Blue
#4B57DB
ΔE00 5.47
Royal Purple
#7851A9
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BBF #B6BF5B
analogous
#5B84BF #645BBF #965BBF
triadic
#645BBF #BF645B #5BBF64
tetradic
#645BBF #BF5B84 #B6BF5B #5BBF96
square
#645BBF #BF5B84 #B6BF5B #5BBF96
split-complementary
#645BBF #BF965B #84BF5B
monochromatic
#332D73 #473E9F #645BBF #8E87D0 #B7B3E1
Accessibility & contrast
On white
5.54
#645BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#645BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BBF
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BBF | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6CC2
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#457184
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #645bbf; /* rgb */ color: rgb(100, 91, 191); /* oklch */ color: oklch(53.1% 0.151 284.0);
Tailwind
colors: {
custom: {
50: '#9689d3',
500: '#645bbf',
950: '#000000',
},
}SCSS
$custom: #645bbf; $custom-light: #9689d3; $custom-dark: #000000;
JSON
{
"hex": "#645bbf",
"rgb": {
"r": 100,
"g": 91,
"b": 191
},
"hsl": {
"h": 245.4,
"s": 43.86,
"l": 55.294
},
"oklch": {
"l": 0.5307,
"c": 0.1515,
"h": 284
},
"luminance": 0.13953
}Semantic roles & 50–950 ramp
primary
#645BBF
secondary
#CCD0A6
accent
#D454C8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83