#645BCE#645BCE
#645BCE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.172 H 282.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #645BCE |
|---|---|
| RGB | rgb(100, 91, 206) |
| HSL | hsl(245, 54%, 58%) |
| HSV | hsv(245, 56%, 81%) |
| CMYK | cmyk(51.5%, 55.8%, 0%, 19.2%) |
| CIE-LAB | lab(45.15, 34.50, -58.68) |
| CIE-LCH | lch(45.15, 68.07, 300.45°) |
| OKLab | oklab(54.12% 0.0373 -0.1678) |
| OKLCH | oklch(54.12% 0.172 282.5) |
| XYZ | xyz(20.1338, 14.6466, 60.1467) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.22
Dark Periwinkle
#665FD1
ΔE00 1.34
Light Indigo
#6D5ACF
ΔE00 1.74
Iris
#6258C4
ΔE00 1.75
Warm Blue
#4B57DB
ΔE00 4.05
Purpley
#8756E4
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BCE #C5CE5B
analogous
#5B8BCE #645BCE #9E5BCE
triadic
#645BCE #CE645B #5BCE64
tetradic
#645BCE #CE5B8B #C5CE5B #5BCE9E
square
#645BCE #CE5B8B #C5CE5B #5BCE9E
split-complementary
#645BCE #CE9E5B #8BCE5B
monochromatic
#302886 #4036B6 #645BCE #918ADC #BDB9EA
Accessibility & contrast
On white
5.34
#645BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#645BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BCE
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BCE | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6FD2
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#3A758C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #645bce; /* rgb */ color: rgb(100, 91, 206); /* oklch */ color: oklch(54.1% 0.172 282.5);
Tailwind
colors: {
custom: {
50: '#9889de',
500: '#645bce',
950: '#000000',
},
}SCSS
$custom: #645bce; $custom-light: #9889de; $custom-dark: #000000;
JSON
{
"hex": "#645bce",
"rgb": {
"r": 100,
"g": 91,
"b": 206
},
"hsl": {
"h": 244.696,
"s": 53.991,
"l": 58.235
},
"oklch": {
"l": 0.54115,
"c": 0.1719,
"h": 282.5
},
"luminance": 0.14648
}Semantic roles & 50–950 ramp
primary
#645BCE
secondary
#D6D9AB
accent
#DD4AD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83