#645FC0#645FC0
#645FC0 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 53.9% C 0.147 H 282.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #645FC0 |
|---|---|
| RGB | rgb(100, 95, 192) |
| HSL | hsl(243, 43%, 56%) |
| HSV | hsv(243, 51%, 75%) |
| CMYK | cmyk(47.9%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(45.22, 27.76, -50.48) |
| CIE-LCH | lch(45.22, 57.61, 298.80°) |
| OKLab | oklab(53.88% 0.0321 -0.1437) |
| OKLCH | oklch(53.88% 0.147 282.6) |
| XYZ | xyz(18.8593, 14.6986, 51.7023) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.37
Dark Periwinkle
#665FD1
ΔE00 2.60
Slate Blue
#6A5ACD
ΔE00 2.91
Light Indigo
#6D5ACF
ΔE00 3.39
Warm Blue
#4B57DB
ΔE00 5.63
Royal Blue
#4169E1
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FC0 #BBC05F
analogous
#5F8BC0 #645FC0 #955FC0
triadic
#645FC0 #C0645F #5FC064
tetradic
#645FC0 #C05F8B #BBC05F #5FC095
square
#645FC0 #C05F8B #BBC05F #5FC095
split-complementary
#645FC0 #C0955F #8BC05F
monochromatic
#322F76 #4540A2 #645FC0 #8F8BD1 #B9B7E3
Accessibility & contrast
On white
5.33
#645FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#645FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FC0
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FC0 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326EC3
Deuteranopia (green-blind)
#2C68BE
Tritanopia (blue-blind)
#447486
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #645fc0; /* rgb */ color: rgb(100, 95, 192); /* oklch */ color: oklch(53.9% 0.147 282.6);
Tailwind
colors: {
custom: {
50: '#968cd3',
500: '#645fc0',
950: '#000000',
},
}SCSS
$custom: #645fc0; $custom-light: #968cd3; $custom-dark: #000000;
JSON
{
"hex": "#645fc0",
"rgb": {
"r": 100,
"g": 95,
"b": 192
},
"hsl": {
"h": 243.093,
"s": 43.498,
"l": 56.275
},
"oklch": {
"l": 0.5388,
"c": 0.14722,
"h": 282.6
},
"luminance": 0.147
}Semantic roles & 50–950 ramp
primary
#645FC0
secondary
#CFD1A9
accent
#D355CD
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83