#645FCC#645FCC
#645FCC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.164 H 281.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #645FCC |
|---|---|
| RGB | rgb(100, 95, 204) |
| HSL | hsl(243, 52%, 59%) |
| HSV | hsv(243, 53%, 80%) |
| CMYK | cmyk(51%, 53.4%, 0%, 20%) |
| CIE-LAB | lab(45.98, 31.45, -56.19) |
| CIE-LCH | lch(45.98, 64.39, 299.24°) |
| OKLab | oklab(54.69% 0.0329 -0.1604) |
| OKLCH | oklch(54.69% 0.164 281.6) |
| XYZ | xyz(20.2435, 15.2522, 58.9923) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.82
Slate Blue
#6A5ACD
ΔE00 2.11
Iris
#6258C4
ΔE00 2.50
Light Indigo
#6D5ACF
ΔE00 2.52
Warm Blue
#4B57DB
ΔE00 4.52
Mediumslateblue
#7B68EE
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FCC #C7CC5F
analogous
#5F90CC #645FCC #9A5FCC
triadic
#645FCC #CC645F #5FCC64
tetradic
#645FCC #CC5F90 #C7CC5F #5FCC9A
square
#645FCC #CC5F90 #C7CC5F #5FCC9A
split-complementary
#645FCC #CC9A5F #90CC5F
monochromatic
#2F2B86 #3F39B4 #645FCC #918DDB #BEBCEA
Accessibility & contrast
On white
5.18
#645FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#645FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FCC
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FCC | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2271D0
Deuteranopia (green-blind)
#1569CA
Tritanopia (blue-blind)
#3B778C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #645fcc; /* rgb */ color: rgb(100, 95, 204); /* oklch */ color: oklch(54.7% 0.164 281.6);
Tailwind
colors: {
custom: {
50: '#978cdc',
500: '#645fcc',
950: '#000000',
},
}SCSS
$custom: #645fcc; $custom-light: #978cdc; $custom-dark: #000000;
JSON
{
"hex": "#645fcc",
"rgb": {
"r": 100,
"g": 95,
"b": 204
},
"hsl": {
"h": 242.752,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.54692,
"c": 0.16378,
"h": 281.6
},
"luminance": 0.15253
}Semantic roles & 50–950 ramp
primary
#645FCC
secondary
#D7D9AE
accent
#DB4DD5
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83