#645BCA#645BCA
#645BCA is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.167 H 282.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #645BCA |
|---|---|
| RGB | rgb(100, 91, 202) |
| HSL | hsl(245, 51%, 57%) |
| HSV | hsv(245, 55%, 79%) |
| CMYK | cmyk(50.5%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(44.88, 33.27, -56.81) |
| CIE-LCH | lch(44.88, 65.83, 300.35°) |
| OKLab | oklab(53.83% 0.0372 -0.1623) |
| OKLCH | oklch(53.83% 0.167 282.9) |
| XYZ | xyz(19.6541, 14.4547, 57.6201) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.28
Iris
#6258C4
ΔE00 1.30
Dark Periwinkle
#665FD1
ΔE00 1.64
Light Indigo
#6D5ACF
ΔE00 1.88
Warm Blue
#4B57DB
ΔE00 4.33
Bluey Purple
#6241C7
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BCA #C1CA5B
analogous
#5B89CA #645BCA #9C5BCA
triadic
#645BCA #CA645B #5BCA64
tetradic
#645BCA #CA5B89 #C1CA5B #5BCA9C
square
#645BCA #CA5B89 #C1CA5B #5BCA9C
split-complementary
#645BCA #CA9C5B #89CA5B
monochromatic
#312A81 #4239AF #645BCA #9089D9 #BBB8E8
Accessibility & contrast
On white
5.40
#645BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#645BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BCA
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BCA | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176ECE
Deuteranopia (green-blind)
#0766C8
Tritanopia (blue-blind)
#3D748A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #645bca; /* rgb */ color: rgb(100, 91, 202); /* oklch */ color: oklch(53.8% 0.167 282.9);
Tailwind
colors: {
custom: {
50: '#9789db',
500: '#645bca',
950: '#000000',
},
}SCSS
$custom: #645bca; $custom-light: #9789db; $custom-dark: #000000;
JSON
{
"hex": "#645bca",
"rgb": {
"r": 100,
"g": 91,
"b": 202
},
"hsl": {
"h": 244.865,
"s": 51.152,
"l": 57.451
},
"oklch": {
"l": 0.53831,
"c": 0.16652,
"h": 282.9
},
"luminance": 0.14456
}Semantic roles & 50–950 ramp
primary
#645BCA
secondary
#D3D7AA
accent
#DB4DCF
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83