#645CCF#645CCF
#645CCF is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.172 H 282.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #645CCF |
|---|---|
| RGB | rgb(100, 92, 207) |
| HSL | hsl(244, 55%, 59%) |
| HSV | hsv(244, 56%, 81%) |
| CMYK | cmyk(51.7%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(45.45, 34.20, -58.76) |
| CIE-LCH | lch(45.45, 67.99, 300.20°) |
| OKLab | oklab(54.36% 0.0363 -0.168) |
| OKLCH | oklch(54.36% 0.172 282.2) |
| XYZ | xyz(20.3417, 14.8675, 60.8172) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.01
Slate Blue
#6A5ACD
ΔE00 1.40
Light Indigo
#6D5ACF
ΔE00 1.86
Iris
#6258C4
ΔE00 2.05
Warm Blue
#4B57DB
ΔE00 4.04
Mediumslateblue
#7B68EE
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CCF #C7CF5C
analogous
#5C8DCF #645CCF #9D5CCF
triadic
#645CCF #CF645C #5CCF64
tetradic
#645CCF #CF5C8D #C7CF5C #5CCF9D
square
#645CCF #CF5C8D #C7CF5C #5CCF9D
split-complementary
#645CCF #CF9D5C #8DCF5C
monochromatic
#2F2888 #3F36B8 #645CCF #918BDD #BEBBEB
Accessibility & contrast
On white
5.28
#645CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#645CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CCF
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CCF | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E70D3
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#39768C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #645ccf; /* rgb */ color: rgb(100, 92, 207); /* oklch */ color: oklch(54.4% 0.172 282.2);
Tailwind
colors: {
custom: {
50: '#988ade',
500: '#645ccf',
950: '#000000',
},
}SCSS
$custom: #645ccf; $custom-light: #988ade; $custom-dark: #000000;
JSON
{
"hex": "#645ccf",
"rgb": {
"r": 100,
"g": 92,
"b": 207
},
"hsl": {
"h": 244.174,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.54364,
"c": 0.1719,
"h": 282.2
},
"luminance": 0.14869
}Semantic roles & 50–950 ramp
primary
#645CCF
secondary
#D7DAAD
accent
#DE4AD4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83