#646CC0#646CC0
#646CC0 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.4% C 0.129 H 277.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #646CC0 |
|---|---|
| RGB | rgb(100, 108, 192) |
| HSL | hsl(235, 42%, 57%) |
| HSV | hsv(235, 48%, 75%) |
| CMYK | cmyk(47.9%, 43.7%, 0%, 24.7%) |
| CIE-LAB | lab(48.56, 19.76, -45.15) |
| CIE-LCH | lch(48.56, 49.28, 293.64°) |
| OKLab | oklab(56.41% 0.0164 -0.1279) |
| OKLCH | oklch(56.41% 0.129 277.3) |
| XYZ | xyz(20.1296, 17.2391, 52.1258) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 5.18
Dark Periwinkle
#665FD1
ΔE00 5.33
Royal Blue
#4169E1
ΔE00 6.62
Slate Blue
#6A5ACD
ΔE00 6.82
Iris
#6258C4
ΔE00 6.86
Light Indigo
#6D5ACF
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CC0 #C0B864
analogous
#649AC0 #646CC0 #8A64C0
triadic
#646CC0 #C0646C #6CC064
tetradic
#646CC0 #C0649A #C0B864 #64C08A
square
#646CC0 #C0649A #C0B864 #64C08A
split-complementary
#646CC0 #C08A64 #9AC064
monochromatic
#313779 #434BA4 #646CC0 #9095D2 #BBBFE3
Accessibility & contrast
On white
4.72
#646CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#646CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646CC0
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646CC0 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A77C3
Deuteranopia (green-blind)
#4370BE
Tritanopia (blue-blind)
#427E8D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #646cc0; /* rgb */ color: rgb(100, 108, 192); /* oklch */ color: oklch(56.4% 0.129 277.3);
Tailwind
colors: {
custom: {
50: '#9596d3',
500: '#646cc0',
950: '#000000',
},
}SCSS
$custom: #646cc0; $custom-light: #9596d3; $custom-dark: #000000;
JSON
{
"hex": "#646cc0",
"rgb": {
"r": 100,
"g": 108,
"b": 192
},
"hsl": {
"h": 234.783,
"s": 42.202,
"l": 57.255
},
"oklch": {
"l": 0.56408,
"c": 0.12899,
"h": 277.3
},
"luminance": 0.1724
}Semantic roles & 50–950 ramp
primary
#646CC0
secondary
#D3CFAD
accent
#C756D2
background
#F9F9FD
surface
#F2F1FA
border
#CCCBD3
text
#0E0D14
muted
#7E7E83