#646CB2#646CB2
#646CB2 is a mid, moderate blue. Relative luminance 0.166; OKLCH L 55.6% C 0.109 H 277.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #646CB2 |
|---|---|
| RGB | rgb(100, 108, 178) |
| HSL | hsl(234, 34%, 55%) |
| HSV | hsv(234, 44%, 70%) |
| CMYK | cmyk(43.8%, 39.3%, 0%, 30.2%) |
| CIE-LAB | lab(47.81, 15.50, -38.22) |
| CIE-LCH | lch(47.81, 41.24, 292.07°) |
| OKLab | oklab(55.59% 0.0138 -0.1077) |
| OKLCH | oklch(55.59% 0.109 277.3) |
| XYZ | xyz(18.6516, 16.6479, 44.3414) |
| Luminance | 0.1665 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 6.88
Dark Periwinkle
#665FD1
ΔE00 6.89
French Blue
#436BAD
ΔE00 7.22
Iris
#6258C4
ΔE00 7.68
Dusky Blue
#475F94
ΔE00 7.71
Slate Blue
#6A5ACD
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CB2 #B2AA64
analogous
#6493B2 #646CB2 #8364B2
triadic
#646CB2 #B2646C #6CB264
tetradic
#646CB2 #B26493 #B2AA64 #64B283
square
#646CB2 #B26493 #B2AA64 #64B283
split-complementary
#646CB2 #B28364 #93B264
monochromatic
#343968 #484F91 #646CB2 #8D93C6 #B6BADB
Accessibility & contrast
On white
4.85
#646CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#646CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646CB2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646CB2 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#4D6FB0
Tritanopia (blue-blind)
#4A7A86
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #646cb2; /* rgb */ color: rgb(100, 108, 178); /* oklch */ color: oklch(55.6% 0.109 277.3);
Tailwind
colors: {
custom: {
50: '#9496c9',
500: '#646cb2',
950: '#000000',
},
}SCSS
$custom: #646cb2; $custom-light: #9496c9; $custom-dark: #000000;
JSON
{
"hex": "#646cb2",
"rgb": {
"r": 100,
"g": 108,
"b": 178
},
"hsl": {
"h": 233.846,
"s": 33.621,
"l": 54.51
},
"oklch": {
"l": 0.55594,
"c": 0.10858,
"h": 277.3
},
"luminance": 0.16649
}Semantic roles & 50–950 ramp
primary
#646CB2
secondary
#C9C6A8
accent
#BF5ECA
background
#F9F9FC
surface
#F2F1F8
border
#CCCBD1
text
#0D0D13
muted
#7E7E82