#645BB5#645BB5
#645BB5 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.4% C 0.138 H 285.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #645BB5 |
|---|---|
| RGB | rgb(100, 91, 181) |
| HSL | hsl(246, 38%, 53%) |
| HSV | hsv(246, 50%, 71%) |
| CMYK | cmyk(44.8%, 49.7%, 0%, 29%) |
| CIE-LAB | lab(43.55, 26.88, -46.75) |
| CIE-LCH | lch(43.55, 53.93, 299.90°) |
| OKLab | oklab(52.41% 0.036 -0.1327) |
| OKLCH | oklch(52.41% 0.138 285.2) |
| XYZ | xyz(17.3347, 13.5270, 45.4047) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.71
Slate Blue
#6A5ACD
ΔE00 3.93
Light Indigo
#6D5ACF
ΔE00 4.37
Dark Periwinkle
#665FD1
ΔE00 4.51
Royal Purple
#7851A9
ΔE00 6.60
Warm Blue
#4B57DB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BB5 #ACB55B
analogous
#5B7FB5 #645BB5 #915BB5
triadic
#645BB5 #B5645B #5BB564
tetradic
#645BB5 #B55B7F #ACB55B #5BB591
square
#645BB5 #B55B7F #ACB55B #5BB591
split-complementary
#645BB5 #B5915B #7FB55B
monochromatic
#342F67 #4A4291 #645BB5 #8C85C8 #B4AFDB
Accessibility & contrast
On white
5.67
#645BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#645BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BB5
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BB5 | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#346AB8
Deuteranopia (green-blind)
#3264B3
Tritanopia (blue-blind)
#4A6E7F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #645bb5; /* rgb */ color: rgb(100, 91, 181); /* oklch */ color: oklch(52.4% 0.138 285.2);
Tailwind
colors: {
custom: {
50: '#9589cc',
500: '#645bb5',
950: '#000000',
},
}SCSS
$custom: #645bb5; $custom-light: #9589cc; $custom-dark: #000000;
JSON
{
"hex": "#645bb5",
"rgb": {
"r": 100,
"g": 91,
"b": 181
},
"hsl": {
"h": 246,
"s": 37.815,
"l": 53.333
},
"oklch": {
"l": 0.52409,
"c": 0.13753,
"h": 285.2
},
"luminance": 0.13528
}Semantic roles & 50–950 ramp
primary
#645BB5
secondary
#C5C9A3
accent
#CE5AC2
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B13
muted
#7E7C82