#646FB9#646FB9
#646FB9 is a mid, moderate blue. Relative luminance 0.176; OKLCH L 56.6% C 0.115 H 275.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #646FB9 |
|---|---|
| RGB | rgb(100, 111, 185) |
| HSL | hsl(232, 38%, 56%) |
| HSV | hsv(232, 46%, 73%) |
| CMYK | cmyk(45.9%, 40%, 0%, 27.5%) |
| CIE-LAB | lab(48.98, 15.77, -40.43) |
| CIE-LCH | lch(48.98, 43.40, 291.31°) |
| OKLab | oklab(56.61% 0.0114 -0.1141) |
| OKLCH | oklch(56.61% 0.115 275.7) |
| XYZ | xyz(19.6942, 17.5799, 48.2451) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 5.57
Dark Periwinkle
#665FD1
ΔE00 6.90
French Blue
#436BAD
ΔE00 6.97
Royal Blue
#4169E1
ΔE00 7.39
Iris
#6258C4
ΔE00 8.23
Slate Blue
#6A5ACD
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FB9 #B9AE64
analogous
#6499B9 #646FB9 #8364B9
triadic
#646FB9 #B9646F #6FB964
tetradic
#646FB9 #B96499 #B9AE64 #64B983
square
#646FB9 #B96499 #B9AE64 #64B983
split-complementary
#646FB9 #B98364 #99B964
monochromatic
#333B70 #46519A #646FB9 #8E96CC #B8BDDF
Accessibility & contrast
On white
4.65
#646FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#646FB9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #646FB9
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646FB9 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5378BC
Deuteranopia (green-blind)
#4C71B7
Tritanopia (blue-blind)
#467E8B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #646fb9; /* rgb */ color: rgb(100, 111, 185); /* oklch */ color: oklch(56.6% 0.115 275.7);
Tailwind
colors: {
custom: {
50: '#9498ce',
500: '#646fb9',
950: '#000000',
},
}SCSS
$custom: #646fb9; $custom-light: #9498ce; $custom-dark: #000000;
JSON
{
"hex": "#646fb9",
"rgb": {
"r": 100,
"g": 111,
"b": 185
},
"hsl": {
"h": 232.235,
"s": 37.778,
"l": 55.882
},
"oklch": {
"l": 0.56608,
"c": 0.11471,
"h": 275.7
},
"luminance": 0.17581
}Semantic roles & 50–950 ramp
primary
#646FB9
secondary
#CEC9AB
accent
#BF5ACE
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0D13
muted
#7E7E82