#645CDC#645CDC
#645CDC is a mid, vivid blue. Relative luminance 0.155; OKLCH L 55.3% C 0.189 H 281.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #645CDC |
|---|---|
| RGB | rgb(100, 92, 220) |
| HSL | hsl(244, 65%, 61%) |
| HSV | hsv(244, 58%, 86%) |
| CMYK | cmyk(54.5%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(46.35, 38.23, -64.73) |
| CIE-LCH | lch(46.35, 75.17, 300.56°) |
| OKLab | oklab(55.32% 0.0363 -0.1856) |
| OKLCH | oklch(55.32% 0.189 281.1) |
| XYZ | xyz(21.9969, 15.5296, 69.5347) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.78
Slate Blue
#6A5ACD
ΔE00 2.53
Light Indigo
#6D5ACF
ΔE00 2.60
Iris
#6258C4
ΔE00 3.70
Warm Blue
#4B57DB
ΔE00 3.80
Mediumslateblue
#7B68EE
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CDC #D4DC5C
analogous
#5C94DC #645CDC #A45CDC
triadic
#645CDC #DC645C #5CDC64
tetradic
#645CDC #DC5C94 #D4DC5C #5CDCA4
square
#645CDC #DC5C94 #D4DC5C #5CDCA4
split-complementary
#645CDC #DCA45C #94DC5C
monochromatic
#29229C #362CCE #645CDC #948EE7 #C4C1F2
Accessibility & contrast
On white
5.11
#645CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#645CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CDC
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CDC | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#2B7A93
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #645cdc; /* rgb */ color: rgb(100, 92, 220); /* oklch */ color: oklch(55.3% 0.189 281.1);
Tailwind
colors: {
custom: {
50: '#9a8ae8',
500: '#645cdc',
950: '#000000',
},
}SCSS
$custom: #645cdc; $custom-light: #9a8ae8; $custom-dark: #000000;
JSON
{
"hex": "#645cdc",
"rgb": {
"r": 100,
"g": 92,
"b": 220
},
"hsl": {
"h": 243.75,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.55315,
"c": 0.1891,
"h": 281.1
},
"luminance": 0.15531
}Semantic roles & 50–950 ramp
primary
#645CDC
secondary
#DFE2B2
accent
#CC19C1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84