#645FCF#645FCF
#645FCF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.9% C 0.168 H 281.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #645FCF |
|---|---|
| RGB | rgb(100, 95, 207) |
| HSL | hsl(243, 54%, 59%) |
| HSV | hsv(243, 54%, 81%) |
| CMYK | cmyk(51.7%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(46.17, 32.38, -57.59) |
| CIE-LCH | lch(46.17, 66.07, 299.35°) |
| OKLab | oklab(54.9% 0.033 -0.1646) |
| OKLCH | oklch(54.9% 0.168 281.3) |
| XYZ | xyz(20.6068, 15.3976, 60.9056) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 0.47
Slate Blue
#6A5ACD
ΔE00 2.12
Light Indigo
#6D5ACF
ΔE00 2.48
Iris
#6258C4
ΔE00 2.73
Warm Blue
#4B57DB
ΔE00 4.35
Mediumslateblue
#7B68EE
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645FCF #CACF5F
analogous
#5F92CF #645FCF #9C5FCF
triadic
#645FCF #CF645F #5FCF64
tetradic
#645FCF #CF5F92 #CACF5F #5FCF9C
square
#645FCF #CF5F92 #CACF5F #5FCF9C
split-complementary
#645FCF #CF9C5F #92CF5F
monochromatic
#2E298A #3D38B9 #645FCF #928EDD #BFBDEB
Accessibility & contrast
On white
5.15
#645FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#645FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645FCF
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645FCF | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D71D3
Deuteranopia (green-blind)
#0A69CD
Tritanopia (blue-blind)
#38788E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #645fcf; /* rgb */ color: rgb(100, 95, 207); /* oklch */ color: oklch(54.9% 0.168 281.3);
Tailwind
colors: {
custom: {
50: '#988cde',
500: '#645fcf',
950: '#000000',
},
}SCSS
$custom: #645fcf; $custom-light: #988cde; $custom-dark: #000000;
JSON
{
"hex": "#645fcf",
"rgb": {
"r": 100,
"g": 95,
"b": 207
},
"hsl": {
"h": 242.679,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.54901,
"c": 0.16786,
"h": 281.3
},
"luminance": 0.15399
}Semantic roles & 50–950 ramp
primary
#645FCF
secondary
#D9DBAF
accent
#DD4BD7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83