#645DC2#645DC2
#645DC2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.153 H 283.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #645DC2 |
|---|---|
| RGB | rgb(100, 93, 194) |
| HSL | hsl(244, 45%, 56%) |
| HSV | hsv(244, 52%, 76%) |
| CMYK | cmyk(48.5%, 52.1%, 0%, 23.9%) |
| CIE-LAB | lab(44.85, 29.59, -52.24) |
| CIE-LCH | lch(44.85, 60.04, 299.53°) |
| OKLab | oklab(53.64% 0.0346 -0.1488) |
| OKLCH | oklch(53.64% 0.153 283.1) |
| XYZ | xyz(18.9046, 14.4321, 52.8180) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.64
Slate Blue
#6A5ACD
ΔE00 2.29
Dark Periwinkle
#665FD1
ΔE00 2.35
Light Indigo
#6D5ACF
ΔE00 2.82
Warm Blue
#4B57DB
ΔE00 5.23
Royal Purple
#7851A9
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645DC2 #BBC25D
analogous
#5D89C2 #645DC2 #975DC2
triadic
#645DC2 #C2645D #5DC264
tetradic
#645DC2 #C25D89 #BBC25D #5DC297
square
#645DC2 #C25D89 #BBC25D #5DC297
split-complementary
#645DC2 #C2975D #89C25D
monochromatic
#322D78 #453EA4 #645DC2 #8F89D3 #B9B6E3
Accessibility & contrast
On white
5.40
#645DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#645DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645DC2
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645DC2 | 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)
#2B6DC6
Deuteranopia (green-blind)
#2467C0
Tritanopia (blue-blind)
#427386
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #645dc2; /* rgb */ color: rgb(100, 93, 194); /* oklch */ color: oklch(53.6% 0.153 283.1);
Tailwind
colors: {
custom: {
50: '#968bd5',
500: '#645dc2',
950: '#000000',
},
}SCSS
$custom: #645dc2; $custom-light: #968bd5; $custom-dark: #000000;
JSON
{
"hex": "#645dc2",
"rgb": {
"r": 100,
"g": 93,
"b": 194
},
"hsl": {
"h": 244.158,
"s": 45.291,
"l": 56.275
},
"oklch": {
"l": 0.53641,
"c": 0.15282,
"h": 283.1
},
"luminance": 0.14433
}Semantic roles & 50–950 ramp
primary
#645DC2
secondary
#CFD2A9
accent
#D553CC
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83