#645CC2#645CC2
#645CC2 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.154 H 283.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #645CC2 |
|---|---|
| RGB | rgb(100, 92, 194) |
| HSL | hsl(245, 46%, 56%) |
| HSV | hsv(245, 53%, 76%) |
| CMYK | cmyk(48.5%, 52.6%, 0%, 23.9%) |
| CIE-LAB | lab(44.60, 30.21, -52.63) |
| CIE-LCH | lch(44.60, 60.69, 299.85°) |
| OKLab | oklab(53.46% 0.0358 -0.15) |
| OKLCH | oklch(53.46% 0.154 283.4) |
| XYZ | xyz(18.8174, 14.2577, 52.7890) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.33
Slate Blue
#6A5ACD
ΔE00 2.14
Dark Periwinkle
#665FD1
ΔE00 2.44
Light Indigo
#6D5ACF
ΔE00 2.68
Warm Blue
#4B57DB
ΔE00 5.16
Bluey Purple
#6241C7
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CC2 #BAC25C
analogous
#5C87C2 #645CC2 #975CC2
triadic
#645CC2 #C2645C #5CC264
tetradic
#645CC2 #C25C87 #BAC25C #5CC297
square
#645CC2 #C25C87 #BAC25C #5CC297
split-complementary
#645CC2 #C2975C #87C25C
monochromatic
#322D77 #453DA4 #645CC2 #8E89D3 #B9B5E3
Accessibility & contrast
On white
5.45
#645CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#645CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CC2
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CC2 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#2266C0
Tritanopia (blue-blind)
#437286
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #645cc2; /* rgb */ color: rgb(100, 92, 194); /* oklch */ color: oklch(53.5% 0.154 283.4);
Tailwind
colors: {
custom: {
50: '#968ad5',
500: '#645cc2',
950: '#000000',
},
}SCSS
$custom: #645cc2; $custom-light: #968ad5; $custom-dark: #000000;
JSON
{
"hex": "#645cc2",
"rgb": {
"r": 100,
"g": 92,
"b": 194
},
"hsl": {
"h": 244.706,
"s": 45.536,
"l": 56.078
},
"oklch": {
"l": 0.53457,
"c": 0.15423,
"h": 283.4
},
"luminance": 0.14259
}Semantic roles & 50–950 ramp
primary
#645CC2
secondary
#CFD2A8
accent
#D553CB
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83