#646CB7#646CB7
#646CB7 is a mid, moderate blue. Relative luminance 0.169; OKLCH L 55.9% C 0.116 H 277.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #646CB7 |
|---|---|
| RGB | rgb(100, 108, 183) |
| HSL | hsl(234, 37%, 55%) |
| HSV | hsv(234, 45%, 72%) |
| CMYK | cmyk(45.4%, 41%, 0%, 28.2%) |
| CIE-LAB | lab(48.07, 17.01, -40.71) |
| CIE-LCH | lch(48.07, 44.12, 292.67°) |
| OKLab | oklab(55.88% 0.0148 -0.115) |
| OKLCH | oklch(55.88% 0.116 277.3) |
| XYZ | xyz(19.1627, 16.8524, 47.0337) |
| Luminance | 0.1685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 6.21
Dark Periwinkle
#665FD1
ΔE00 6.26
French Blue
#436BAD
ΔE00 7.20
Iris
#6258C4
ΔE00 7.30
Slate Blue
#6A5ACD
ΔE00 7.49
Royal Blue
#4169E1
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CB7 #B7AF64
analogous
#6495B7 #646CB7 #8564B7
triadic
#646CB7 #B7646C #6CB764
tetradic
#646CB7 #B76495 #B7AF64 #64B785
square
#646CB7 #B76495 #B7AF64 #64B785
split-complementary
#646CB7 #B78564 #95B764
monochromatic
#33396E #464E97 #646CB7 #8E94CA #B8BBDE
Accessibility & contrast
On white
4.80
#646CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#646CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646CB7
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646CB7 | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5075BA
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#477B89
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #646cb7; /* rgb */ color: rgb(100, 108, 183); /* oklch */ color: oklch(55.9% 0.116 277.3);
Tailwind
colors: {
custom: {
50: '#9496cd',
500: '#646cb7',
950: '#000000',
},
}SCSS
$custom: #646cb7; $custom-light: #9496cd; $custom-dark: #000000;
JSON
{
"hex": "#646cb7",
"rgb": {
"r": 100,
"g": 108,
"b": 183
},
"hsl": {
"h": 234.217,
"s": 36.564,
"l": 55.49
},
"oklch": {
"l": 0.55878,
"c": 0.11593,
"h": 277.3
},
"luminance": 0.16853
}Semantic roles & 50–950 ramp
primary
#646CB7
secondary
#CDC9AA
accent
#C25BCD
background
#F9F9FC
surface
#F2F1F9
border
#CCCBD2
text
#0D0D13
muted
#7E7E82