#646FB7#646FB7
#646FB7 is a mid, moderate blue. Relative luminance 0.175; OKLCH L 56.5% C 0.112 H 275.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #646FB7 |
|---|---|
| RGB | rgb(100, 111, 183) |
| HSL | hsl(232, 37%, 55%) |
| HSV | hsv(232, 45%, 72%) |
| CMYK | cmyk(45.4%, 39.3%, 0%, 28.2%) |
| CIE-LAB | lab(48.88, 15.17, -39.44) |
| CIE-LCH | lch(48.88, 42.26, 291.03°) |
| OKLab | oklab(56.5% 0.011 -0.1112) |
| OKLCH | oklch(56.5% 0.112 275.6) |
| XYZ | xyz(19.4846, 17.4961, 47.1410) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 5.83
French Blue
#436BAD
ΔE00 6.94
Dark Periwinkle
#665FD1
ΔE00 7.10
Royal Blue
#4169E1
ΔE00 7.63
Iris
#6258C4
ΔE00 8.34
Cadet Blue
#4E7496
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FB7 #B7AC64
analogous
#6498B7 #646FB7 #8264B7
triadic
#646FB7 #B7646F #6FB764
tetradic
#646FB7 #B76498 #B7AC64 #64B782
square
#646FB7 #B76498 #B7AC64 #64B782
split-complementary
#646FB7 #B78264 #98B764
monochromatic
#333B6E #465197 #646FB7 #8E96CA #B8BDDE
Accessibility & contrast
On white
4.67
#646FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#646FB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #646FB7
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646FB7 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5478BA
Deuteranopia (green-blind)
#4E71B5
Tritanopia (blue-blind)
#477E8A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #646fb7; /* rgb */ color: rgb(100, 111, 183); /* oklch */ color: oklch(56.5% 0.112 275.6);
Tailwind
colors: {
custom: {
50: '#9498cd',
500: '#646fb7',
950: '#000000',
},
}SCSS
$custom: #646fb7; $custom-light: #9498cd; $custom-dark: #000000;
JSON
{
"hex": "#646fb7",
"rgb": {
"r": 100,
"g": 111,
"b": 183
},
"hsl": {
"h": 232.048,
"s": 36.564,
"l": 55.49
},
"oklch": {
"l": 0.56495,
"c": 0.11178,
"h": 275.6
},
"luminance": 0.17497
}Semantic roles & 50–950 ramp
primary
#646FB7
secondary
#CDC8AA
accent
#BE5BCD
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D13
muted
#7E7E82