#645BBD#645BBD
#645BBD is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.9% C 0.149 H 284.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #645BBD |
|---|---|
| RGB | rgb(100, 91, 189) |
| HSL | hsl(246, 43%, 55%) |
| HSV | hsv(246, 52%, 74%) |
| CMYK | cmyk(47.1%, 51.9%, 0%, 25.9%) |
| CIE-LAB | lab(44.04, 29.30, -50.63) |
| CIE-LCH | lch(44.04, 58.50, 300.05°) |
| OKLab | oklab(52.94% 0.0366 -0.1441) |
| OKLCH | oklch(52.94% 0.149 284.3) |
| XYZ | xyz(18.1792, 13.8648, 49.8525) |
| Luminance | 0.1387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.52
Slate Blue
#6A5ACD
ΔE00 2.70
Light Indigo
#6D5ACF
ΔE00 3.21
Dark Periwinkle
#665FD1
ΔE00 3.28
Warm Blue
#4B57DB
ΔE00 5.72
Royal Purple
#7851A9
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BBD #B4BD5B
analogous
#5B83BD #645BBD #955BBD
triadic
#645BBD #BD645B #5BBD64
tetradic
#645BBD #BD5B83 #B4BD5B #5BBD95
square
#645BBD #BD5B83 #B4BD5B #5BBD95
split-complementary
#645BBD #BD955B #83BD5B
monochromatic
#332D70 #473F9C #645BBD #8D87CF #B6B2E0
Accessibility & contrast
On white
5.57
#645BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#645BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BBD
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BBD | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6BC0
Deuteranopia (green-blind)
#2865BB
Tritanopia (blue-blind)
#467083
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #645bbd; /* rgb */ color: rgb(100, 91, 189); /* oklch */ color: oklch(52.9% 0.149 284.3);
Tailwind
colors: {
custom: {
50: '#9689d1',
500: '#645bbd',
950: '#000000',
},
}SCSS
$custom: #645bbd; $custom-light: #9689d1; $custom-dark: #000000;
JSON
{
"hex": "#645bbd",
"rgb": {
"r": 100,
"g": 91,
"b": 189
},
"hsl": {
"h": 245.51,
"s": 42.609,
"l": 54.902
},
"oklch": {
"l": 0.52936,
"c": 0.14872,
"h": 284.3
},
"luminance": 0.13866
}Semantic roles & 50–950 ramp
primary
#645BBD
secondary
#CBCFA5
accent
#D255C7
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0B14
muted
#7E7C82