#645FB2#645FB2
#645FB2 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.0% C 0.127 H 283.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #645FB2 |
|---|---|
| RGB | rgb(100, 95, 178) |
| HSL | hsl(244, 35%, 54%) |
| HSV | hsv(244, 47%, 70%) |
| CMYK | cmyk(43.8%, 46.6%, 0%, 30.2%) |
| CIE-LAB | lab(44.39, 23.52, -43.66) |
| CIE-LCH | lch(44.39, 49.59, 298.31°) |
| OKLab | oklab(52.99% 0.0306 -0.1236) |
| OKLCH | oklch(52.99% 0.127 283.9) |
| XYZ | xyz(17.3813, 14.1074, 43.9180) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.90
Slate Blue
#6A5ACD
ΔE00 4.86
Dark Periwinkle
#665FD1
ΔE00 4.93
Light Indigo
#6D5ACF
ΔE00 5.27
Royal Purple
#7851A9
ΔE00 7.40
Warm Blue
#4B57DB
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FB2 #ADB25F
analogous
#5F83B2 #645FB2 #8D5FB2
triadic
#645FB2 #B2645F #5FB264
tetradic
#645FB2 #B25F83 #ADB25F #5FB28D
square
#645FB2 #B25F83 #ADB25F #5FB28D
split-complementary
#645FB2 #B28D5F #83B25F
monochromatic
#343166 #49458F #645FB2 #8C88C6 #B4B2DA
Accessibility & contrast
On white
5.50
#645FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#645FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FB2
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FB2 | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6CB5
Deuteranopia (green-blind)
#3B66B0
Tritanopia (blue-blind)
#4C7080
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #645fb2; /* rgb */ color: rgb(100, 95, 178); /* oklch */ color: oklch(53.0% 0.127 283.9);
Tailwind
colors: {
custom: {
50: '#948cc9',
500: '#645fb2',
950: '#000000',
},
}SCSS
$custom: #645fb2; $custom-light: #948cc9; $custom-dark: #000000;
JSON
{
"hex": "#645fb2",
"rgb": {
"r": 100,
"g": 95,
"b": 178
},
"hsl": {
"h": 243.614,
"s": 35.021,
"l": 53.529
},
"oklch": {
"l": 0.52985,
"c": 0.12737,
"h": 283.9
},
"luminance": 0.14108
}Semantic roles & 50–950 ramp
primary
#645FB2
secondary
#C6C8A5
accent
#CB5DC4
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82