#645BBB#645BBB
#645BBB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.146 H 284.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #645BBB |
|---|---|
| RGB | rgb(100, 91, 187) |
| HSL | hsl(246, 41%, 55%) |
| HSV | hsv(246, 51%, 73%) |
| CMYK | cmyk(46.5%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(43.91, 28.69, -49.67) |
| CIE-LCH | lch(43.91, 57.36, 300.01°) |
| OKLab | oklab(52.8% 0.0365 -0.1413) |
| OKLCH | oklch(52.8% 0.146 284.5) |
| XYZ | xyz(17.9636, 13.7785, 48.7171) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.79
Slate Blue
#6A5ACD
ΔE00 2.99
Light Indigo
#6D5ACF
ΔE00 3.48
Dark Periwinkle
#665FD1
ΔE00 3.58
Warm Blue
#4B57DB
ΔE00 5.99
Royal Purple
#7851A9
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BBB #B2BB5B
analogous
#5B82BB #645BBB #945BBB
triadic
#645BBB #BB645B #5BBB64
tetradic
#645BBB #BB5B82 #B2BB5B #5BBB94
square
#645BBB #BB5B82 #B2BB5B #5BBB94
split-complementary
#645BBB #BB945B #82BB5B
monochromatic
#342E6E #484099 #645BBB #8D86CD #B6B2DF
Accessibility & contrast
On white
5.59
#645BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#645BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BBB
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BBB | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E6BBE
Deuteranopia (green-blind)
#2A65B9
Tritanopia (blue-blind)
#477082
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #645bbb; /* rgb */ color: rgb(100, 91, 187); /* oklch */ color: oklch(52.8% 0.146 284.5);
Tailwind
colors: {
custom: {
50: '#9589d0',
500: '#645bbb',
950: '#000000',
},
}SCSS
$custom: #645bbb; $custom-light: #9589d0; $custom-dark: #000000;
JSON
{
"hex": "#645bbb",
"rgb": {
"r": 100,
"g": 91,
"b": 187
},
"hsl": {
"h": 245.625,
"s": 41.379,
"l": 54.51
},
"oklch": {
"l": 0.52802,
"c": 0.14594,
"h": 284.5
},
"luminance": 0.13779
}Semantic roles & 50–950 ramp
primary
#645BBB
secondary
#C9CDA5
accent
#D157C6
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82