#645BCF#645BCF
#645BCF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.2% C 0.173 H 282.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #645BCF |
|---|---|
| RGB | rgb(100, 91, 207) |
| HSL | hsl(245, 55%, 58%) |
| HSV | hsv(245, 56%, 81%) |
| CMYK | cmyk(51.7%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(45.21, 34.80, -59.14) |
| CIE-LCH | lch(45.21, 68.62, 300.48°) |
| OKLab | oklab(54.19% 0.0373 -0.1692) |
| OKLCH | oklch(54.19% 0.173 282.4) |
| XYZ | xyz(20.2557, 14.6954, 60.7885) |
| Luminance | 0.1470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 1.24
Dark Periwinkle
#665FD1
ΔE00 1.30
Light Indigo
#6D5ACF
ΔE00 1.74
Iris
#6258C4
ΔE00 1.88
Warm Blue
#4B57DB
ΔE00 3.99
Purpley
#8756E4
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645BCF #C6CF5B
analogous
#5B8CCF #645BCF #9E5BCF
triadic
#645BCF #CF645B #5BCF64
tetradic
#645BCF #CF5B8C #C6CF5B #5BCF9E
square
#645BCF #CF5B8C #C6CF5B #5BCF9E
split-complementary
#645BCF #CF9E5B #8CCF5B
monochromatic
#2F2888 #4036B7 #645BCF #918ADD #BDBAEB
Accessibility & contrast
On white
5.33
#645BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#645BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645BCF
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645BCF | 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)
#066FD3
Deuteranopia (green-blind)
#0067CD
Tritanopia (blue-blind)
#39758C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #645bcf; /* rgb */ color: rgb(100, 91, 207); /* oklch */ color: oklch(54.2% 0.173 282.4);
Tailwind
colors: {
custom: {
50: '#9889de',
500: '#645bcf',
950: '#000000',
},
}SCSS
$custom: #645bcf; $custom-light: #9889de; $custom-dark: #000000;
JSON
{
"hex": "#645bcf",
"rgb": {
"r": 100,
"g": 91,
"b": 207
},
"hsl": {
"h": 244.655,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.54187,
"c": 0.17323,
"h": 282.4
},
"luminance": 0.14696
}Semantic roles & 50–950 ramp
primary
#645BCF
secondary
#D6DAAC
accent
#DE4AD3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83