#645BCB#645BCB
#645BCB is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.168 H 282.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #645BCB |
|---|---|
| RGB | rgb(100, 91, 203) |
| HSL | hsl(245, 52%, 58%) |
| HSV | hsv(245, 55%, 80%) |
| CMYK | cmyk(50.7%, 55.2%, 0%, 20.4%) |
| CIE-LAB | lab(44.94, 33.57, -57.28) |
| CIE-LCH | lch(44.94, 66.39, 300.38°) |
| OKLab | oklab(53.9% 0.0373 -0.1637) |
| OKLCH | oklch(53.9% 0.168 282.8) |
| XYZ | xyz(19.7728, 14.5022, 58.2457) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.24
Iris
#6258C4
ΔE00 1.40
Dark Periwinkle
#665FD1
ΔE00 1.55
Light Indigo
#6D5ACF
ΔE00 1.83
Warm Blue
#4B57DB
ΔE00 4.25
Purpley
#8756E4
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BCB #C2CB5B
analogous
#5B8ACB #645BCB #9C5BCB
triadic
#645BCB #CB645B #5BCB64
tetradic
#645BCB #CB5B8A #C2CB5B #5BCB9C
square
#645BCB #CB5B8A #C2CB5B #5BCB9C
split-complementary
#645BCB #CB9C5B #8ACB5B
monochromatic
#302982 #4238B1 #645BCB #9089DA #BCB8E8
Accessibility & contrast
On white
5.38
#645BCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#645BCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BCB
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BCB | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#146ECF
Deuteranopia (green-blind)
#0267C9
Tritanopia (blue-blind)
#3C748A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #645bcb; /* rgb */ color: rgb(100, 91, 203); /* oklch */ color: oklch(53.9% 0.168 282.8);
Tailwind
colors: {
custom: {
50: '#9889db',
500: '#645bcb',
950: '#000000',
},
}SCSS
$custom: #645bcb; $custom-light: #9889db; $custom-dark: #000000;
JSON
{
"hex": "#645bcb",
"rgb": {
"r": 100,
"g": 91,
"b": 203
},
"hsl": {
"h": 244.821,
"s": 51.852,
"l": 57.647
},
"oklch": {
"l": 0.53902,
"c": 0.16787,
"h": 282.8
},
"luminance": 0.14503
}Semantic roles & 50–950 ramp
primary
#645BCB
secondary
#D4D7AA
accent
#DB4CD0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83