#645FBD#645FBD
#645FBD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.7% C 0.143 H 282.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #645FBD |
|---|---|
| RGB | rgb(100, 95, 189) |
| HSL | hsl(243, 42%, 56%) |
| HSV | hsv(243, 50%, 74%) |
| CMYK | cmyk(47.1%, 49.7%, 0%, 25.9%) |
| CIE-LAB | lab(45.04, 26.84, -49.04) |
| CIE-LCH | lch(45.04, 55.90, 298.70°) |
| OKLab | oklab(53.68% 0.0318 -0.1394) |
| OKLCH | oklch(53.68% 0.143 282.9) |
| XYZ | xyz(18.5303, 14.5670, 49.9696) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.57
Dark Periwinkle
#665FD1
ΔE00 3.08
Slate Blue
#6A5ACD
ΔE00 3.27
Light Indigo
#6D5ACF
ΔE00 3.73
Warm Blue
#4B57DB
ΔE00 5.99
Royal Purple
#7851A9
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FBD #B8BD5F
analogous
#5F89BD #645FBD #935FBD
triadic
#645FBD #BD645F #5FBD64
tetradic
#645FBD #BD5F89 #B8BD5F #5FBD93
square
#645FBD #BD5F89 #B8BD5F #5FBD93
split-complementary
#645FBD #BD935F #89BD5F
monochromatic
#332F72 #46419E #645FBD #8E8ACF #B8B6E1
Accessibility & contrast
On white
5.37
#645FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#645FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FBD
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FBD | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#3067BB
Tritanopia (blue-blind)
#457385
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #645fbd; /* rgb */ color: rgb(100, 95, 189); /* oklch */ color: oklch(53.7% 0.143 282.9);
Tailwind
colors: {
custom: {
50: '#968cd1',
500: '#645fbd',
950: '#000000',
},
}SCSS
$custom: #645fbd; $custom-light: #968cd1; $custom-dark: #000000;
JSON
{
"hex": "#645fbd",
"rgb": {
"r": 100,
"g": 95,
"b": 189
},
"hsl": {
"h": 243.191,
"s": 41.593,
"l": 55.686
},
"oklch": {
"l": 0.53683,
"c": 0.14301,
"h": 282.9
},
"luminance": 0.14568
}Semantic roles & 50–950 ramp
primary
#645FBD
secondary
#CDCFA8
accent
#D156CB
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82