#645BB0#645BB0
#645BB0 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.130 H 285.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #645BB0 |
|---|---|
| RGB | rgb(100, 91, 176) |
| HSL | hsl(246, 35%, 52%) |
| HSV | hsv(246, 48%, 69%) |
| CMYK | cmyk(43.2%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(43.25, 25.39, -44.30) |
| CIE-LCH | lch(43.25, 51.06, 299.82°) |
| OKLab | oklab(52.09% 0.0354 -0.1255) |
| OKLCH | oklch(52.09% 0.13 285.8) |
| XYZ | xyz(16.8308, 13.3254, 42.7511) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.55
Slate Blue
#6A5ACD
ΔE00 4.76
Light Indigo
#6D5ACF
ΔE00 5.16
Dark Periwinkle
#665FD1
ΔE00 5.34
Royal Purple
#7851A9
ΔE00 6.34
Twilight
#4E518B
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BB0 #A7B05B
analogous
#5B7DB0 #645BB0 #8F5BB0
triadic
#645BB0 #B0645B #5BB064
tetradic
#645BB0 #B05B7D #A7B05B #5BB08F
square
#645BB0 #B05B7D #A7B05B #5BB08F
split-complementary
#645BB0 #B08F5B #7DB05B
monochromatic
#342F62 #4B438B #645BB0 #8B84C4 #B2AED8
Accessibility & contrast
On white
5.73
#645BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#645BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BB0
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BB0 | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3969B3
Deuteranopia (green-blind)
#3764AE
Tritanopia (blue-blind)
#4D6D7D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #645bb0; /* rgb */ color: rgb(100, 91, 176); /* oklch */ color: oklch(52.1% 0.130 285.8);
Tailwind
colors: {
custom: {
50: '#9489c8',
500: '#645bb0',
950: '#000000',
},
}SCSS
$custom: #645bb0; $custom-light: #9489c8; $custom-dark: #000000;
JSON
{
"hex": "#645bb0",
"rgb": {
"r": 100,
"g": 91,
"b": 176
},
"hsl": {
"h": 246.353,
"s": 34.979,
"l": 52.353
},
"oklch": {
"l": 0.52089,
"c": 0.13044,
"h": 285.8
},
"luminance": 0.13326
}Semantic roles & 50–950 ramp
primary
#645BB0
secondary
#C2C6A1
accent
#CB5DBF
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0B13
muted
#7E7C82