#645BBE#645BBE
#645BBE is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.150 H 284.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #645BBE |
|---|---|
| RGB | rgb(100, 91, 190) |
| HSL | hsl(245, 43%, 55%) |
| HSV | hsv(245, 52%, 75%) |
| CMYK | cmyk(47.4%, 52.1%, 0%, 25.5%) |
| CIE-LAB | lab(44.10, 29.60, -51.11) |
| CIE-LCH | lch(44.10, 59.07, 300.07°) |
| OKLab | oklab(53% 0.0367 -0.1456) |
| OKLCH | oklch(53% 0.15 284.1) |
| XYZ | xyz(18.2881, 13.9083, 50.4262) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.40
Slate Blue
#6A5ACD
ΔE00 2.56
Light Indigo
#6D5ACF
ΔE00 3.08
Dark Periwinkle
#665FD1
ΔE00 3.13
Warm Blue
#4B57DB
ΔE00 5.60
Royal Purple
#7851A9
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BBE #B5BE5B
analogous
#5B83BE #645BBE #965BBE
triadic
#645BBE #BE645B #5BBE64
tetradic
#645BBE #BE5B83 #B5BE5B #5BBE96
square
#645BBE #BE5B83 #B5BE5B #5BBE96
split-complementary
#645BBE #BE965B #83BE5B
monochromatic
#332D72 #473E9D #645BBE #8D87CF #B7B3E1
Accessibility & contrast
On white
5.55
#645BBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#645BBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BBE
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BBE | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B6BC1
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#457084
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #645bbe; /* rgb */ color: rgb(100, 91, 190); /* oklch */ color: oklch(53.0% 0.150 284.1);
Tailwind
colors: {
custom: {
50: '#9689d2',
500: '#645bbe',
950: '#000000',
},
}SCSS
$custom: #645bbe; $custom-light: #9689d2; $custom-dark: #000000;
JSON
{
"hex": "#645bbe",
"rgb": {
"r": 100,
"g": 91,
"b": 190
},
"hsl": {
"h": 245.455,
"s": 43.231,
"l": 55.098
},
"oklch": {
"l": 0.53003,
"c": 0.15011,
"h": 284.1
},
"luminance": 0.13909
}Semantic roles & 50–950 ramp
primary
#645BBE
secondary
#CBCFA6
accent
#D355C8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83