#645AC0#645AC0
#645AC0 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.0% C 0.154 H 284.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #645AC0 |
|---|---|
| RGB | rgb(100, 90, 192) |
| HSL | hsl(246, 45%, 55%) |
| HSV | hsv(246, 53%, 75%) |
| CMYK | cmyk(47.9%, 53.1%, 0%, 24.7%) |
| CIE-LAB | lab(43.98, 30.82, -52.47) |
| CIE-LCH | lch(43.98, 60.85, 300.43°) |
| OKLab | oklab(52.96% 0.038 -0.1495) |
| OKLCH | oklch(52.96% 0.154 284.3) |
| XYZ | xyz(18.4233, 13.8265, 51.5570) |
| Luminance | 0.1383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.96
Slate Blue
#6A5ACD
ΔE00 2.23
Light Indigo
#6D5ACF
ΔE00 2.77
Dark Periwinkle
#665FD1
ΔE00 3.00
Warm Blue
#4B57DB
ΔE00 5.33
Bluey Purple
#6241C7
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645AC0 #B6C05A
analogous
#5A83C0 #645AC0 #975AC0
triadic
#645AC0 #C0645A #5AC064
tetradic
#645AC0 #C05A83 #B6C05A #5AC097
square
#645AC0 #C05A83 #B6C05A #5AC097
split-complementary
#645AC0 #C0975A #83C05A
monochromatic
#332C73 #473DA0 #645AC0 #8E86D1 #B7B3E2
Accessibility & contrast
On white
5.58
#645AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#645AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645AC0
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645AC0 | 1.00 | 5.58 | 3.77 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266BC4
Deuteranopia (green-blind)
#2065BE
Tritanopia (blue-blind)
#447084
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #645ac0; /* rgb */ color: rgb(100, 90, 192); /* oklch */ color: oklch(53.0% 0.154 284.3);
Tailwind
colors: {
custom: {
50: '#9689d4',
500: '#645ac0',
950: '#000000',
},
}SCSS
$custom: #645ac0; $custom-light: #9689d4; $custom-dark: #000000;
JSON
{
"hex": "#645ac0",
"rgb": {
"r": 100,
"g": 90,
"b": 192
},
"hsl": {
"h": 245.882,
"s": 44.737,
"l": 55.294
},
"oklch": {
"l": 0.52956,
"c": 0.15429,
"h": 284.3
},
"luminance": 0.13827
}Semantic roles & 50–950 ramp
primary
#645AC0
secondary
#CCD0A6
accent
#D453C8
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0B14
muted
#7E7C83