#645CB2#645CB2
#645CB2 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.132 H 285.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #645CB2 |
|---|---|
| RGB | rgb(100, 92, 178) |
| HSL | hsl(246, 36%, 53%) |
| HSV | hsv(246, 48%, 70%) |
| CMYK | cmyk(43.8%, 48.3%, 0%, 30.2%) |
| CIE-LAB | lab(43.62, 25.37, -44.88) |
| CIE-LCH | lch(43.62, 51.55, 299.48°) |
| OKLab | oklab(52.41% 0.0344 -0.1272) |
| OKLCH | oklch(52.41% 0.132 285.1) |
| XYZ | xyz(17.1162, 13.5773, 43.8297) |
| Luminance | 0.1358 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.34
Slate Blue
#6A5ACD
ΔE00 4.49
Light Indigo
#6D5ACF
ΔE00 4.91
Dark Periwinkle
#665FD1
ΔE00 4.96
Royal Purple
#7851A9
ΔE00 6.65
Warm Blue
#4B57DB
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645CB2 #AAB25C
analogous
#5C7FB2 #645CB2 #8F5CB2
triadic
#645CB2 #B2645C #5CB264
tetradic
#645CB2 #B25C7F #AAB25C #5CB28F
square
#645CB2 #B25C7F #AAB25C #5CB28F
split-complementary
#645CB2 #B28F5C #7FB25C
monochromatic
#342F64 #4A438E #645CB2 #8C86C6 #B3AFD9
Accessibility & contrast
On white
5.65
#645CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#645CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645CB2
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645CB2 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#3664B0
Tritanopia (blue-blind)
#4C6E7E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #645cb2; /* rgb */ color: rgb(100, 92, 178); /* oklch */ color: oklch(52.4% 0.132 285.1);
Tailwind
colors: {
custom: {
50: '#948ac9',
500: '#645cb2',
950: '#000000',
},
}SCSS
$custom: #645cb2; $custom-light: #948ac9; $custom-dark: #000000;
JSON
{
"hex": "#645cb2",
"rgb": {
"r": 100,
"g": 92,
"b": 178
},
"hsl": {
"h": 245.581,
"s": 35.833,
"l": 52.941
},
"oklch": {
"l": 0.52407,
"c": 0.13181,
"h": 285.1
},
"luminance": 0.13578
}Semantic roles & 50–950 ramp
primary
#645CB2
secondary
#C4C7A2
accent
#CC5CC1
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82