#645BC4#645BC4
#645BC4 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.4% C 0.158 H 283.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #645BC4 |
|---|---|
| RGB | rgb(100, 91, 196) |
| HSL | hsl(245, 47%, 56%) |
| HSV | hsv(245, 54%, 77%) |
| CMYK | cmyk(49%, 53.6%, 0%, 23.1%) |
| CIE-LAB | lab(44.48, 31.43, -53.98) |
| CIE-LCH | lch(44.48, 62.46, 300.21°) |
| OKLab | oklab(53.41% 0.037 -0.154) |
| OKLCH | oklch(53.41% 0.158 283.5) |
| XYZ | xyz(18.9574, 14.1761, 53.9512) |
| Luminance | 0.1418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.96
Slate Blue
#6A5ACD
ΔE00 1.79
Dark Periwinkle
#665FD1
ΔE00 2.31
Light Indigo
#6D5ACF
ΔE00 2.37
Warm Blue
#4B57DB
ΔE00 4.90
Bluey Purple
#6241C7
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BC4 #BBC45B
analogous
#5B87C4 #645BC4 #995BC4
triadic
#645BC4 #C4645B #5BC464
tetradic
#645BC4 #C45B87 #BBC45B #5BC499
square
#645BC4 #C45B87 #BBC45B #5BC499
split-complementary
#645BC4 #C4995B #87C45B
monochromatic
#322C79 #453CA6 #645BC4 #8F88D4 #B9B5E4
Accessibility & contrast
On white
5.48
#645BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#645BC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BC4
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BC4 | 1.00 | 5.48 | 3.84 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236DC8
Deuteranopia (green-blind)
#1B66C2
Tritanopia (blue-blind)
#417287
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #645bc4; /* rgb */ color: rgb(100, 91, 196); /* oklch */ color: oklch(53.4% 0.158 283.5);
Tailwind
colors: {
custom: {
50: '#9789d6',
500: '#645bc4',
950: '#000000',
},
}SCSS
$custom: #645bc4; $custom-light: #9789d6; $custom-dark: #000000;
JSON
{
"hex": "#645bc4",
"rgb": {
"r": 100,
"g": 91,
"b": 196
},
"hsl": {
"h": 245.143,
"s": 47.085,
"l": 56.275
},
"oklch": {
"l": 0.53412,
"c": 0.15837,
"h": 283.5
},
"luminance": 0.14177
}Semantic roles & 50–950 ramp
primary
#645BC4
secondary
#CFD3A8
accent
#D751CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83