#645CDA#645CDA
#645CDA is a mid, vivid blue. Relative luminance 0.154; OKLCH L 55.2% C 0.186 H 281.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #645CDA |
|---|---|
| RGB | rgb(100, 92, 218) |
| HSL | hsl(244, 63%, 61%) |
| HSV | hsv(244, 58%, 85%) |
| CMYK | cmyk(54.1%, 57.8%, 0%, 14.5%) |
| CIE-LAB | lab(46.21, 37.61, -63.82) |
| CIE-LCH | lch(46.21, 74.08, 300.51°) |
| OKLab | oklab(55.17% 0.0363 -0.1829) |
| OKLCH | oklch(55.17% 0.186 281.2) |
| XYZ | xyz(21.7336, 15.4242, 68.1480) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.56
Slate Blue
#6A5ACD
ΔE00 2.30
Light Indigo
#6D5ACF
ΔE00 2.42
Iris
#6258C4
ΔE00 3.44
Warm Blue
#4B57DB
ΔE00 3.77
Mediumslateblue
#7B68EE
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CDA #D2DA5C
analogous
#5C93DA #645CDA #A35CDA
triadic
#645CDA #DA645C #5CDA64
tetradic
#645CDA #DA5C93 #D2DA5C #5CDAA3
square
#645CDA #DA5C93 #D2DA5C #5CDAA3
split-complementary
#645CDA #DAA35C #93DA5C
monochromatic
#2A2399 #382ECB #645CDA #938EE5 #C3C0F1
Accessibility & contrast
On white
5.14
#645CDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#645CDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CDA
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CDA | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#2D7A92
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #645cda; /* rgb */ color: rgb(100, 92, 218); /* oklch */ color: oklch(55.2% 0.186 281.2);
Tailwind
colors: {
custom: {
50: '#9a8ae6',
500: '#645cda',
950: '#000000',
},
}SCSS
$custom: #645cda; $custom-light: #9a8ae6; $custom-dark: #000000;
JSON
{
"hex": "#645cda",
"rgb": {
"r": 100,
"g": 92,
"b": 218
},
"hsl": {
"h": 243.81,
"s": 63,
"l": 60.784
},
"oklch": {
"l": 0.55166,
"c": 0.18649,
"h": 281.2
},
"luminance": 0.15426
}Semantic roles & 50–950 ramp
primary
#645CDA
secondary
#DEE1B1
accent
#CB1BC0
background
#FAF8FE
surface
#F3F0FC
border
#CDCBD5
text
#0F0C16
muted
#7F7D84