#645BCD#645BCD
#645BCD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.0% C 0.171 H 282.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #645BCD |
|---|---|
| RGB | rgb(100, 91, 205) |
| HSL | hsl(245, 53%, 58%) |
| HSV | hsv(245, 56%, 80%) |
| CMYK | cmyk(51.2%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(45.08, 34.19, -58.21) |
| CIE-LCH | lch(45.08, 67.51, 300.43°) |
| OKLab | oklab(54.04% 0.0373 -0.1664) |
| OKLCH | oklch(54.04% 0.171 282.6) |
| XYZ | xyz(20.0127, 14.5982, 59.5090) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.21
Dark Periwinkle
#665FD1
ΔE00 1.40
Iris
#6258C4
ΔE00 1.63
Light Indigo
#6D5ACF
ΔE00 1.76
Warm Blue
#4B57DB
ΔE00 4.11
Purpley
#8756E4
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BCD #C4CD5B
analogous
#5B8BCD #645BCD #9D5BCD
triadic
#645BCD #CD645B #5BCD64
tetradic
#645BCD #CD5B8B #C4CD5B #5BCD9D
square
#645BCD #CD5B8B #C4CD5B #5BCD9D
split-complementary
#645BCD #CD9D5B #8BCD5B
monochromatic
#302985 #4137B4 #645BCD #908ADB #BDB9EA
Accessibility & contrast
On white
5.36
#645BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#645BCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BCD
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BCD | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E6ED1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#3A758B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #645bcd; /* rgb */ color: rgb(100, 91, 205); /* oklch */ color: oklch(54.0% 0.171 282.6);
Tailwind
colors: {
custom: {
50: '#9889dd',
500: '#645bcd',
950: '#000000',
},
}SCSS
$custom: #645bcd; $custom-light: #9889dd; $custom-dark: #000000;
JSON
{
"hex": "#645bcd",
"rgb": {
"r": 100,
"g": 91,
"b": 205
},
"hsl": {
"h": 244.737,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.54044,
"c": 0.17056,
"h": 282.6
},
"luminance": 0.14599
}Semantic roles & 50–950 ramp
primary
#645BCD
secondary
#D5D9AB
accent
#DD4BD1
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83