#646FB2#646FB2
#646FB2 is a mid, moderate blue. Relative luminance 0.173; OKLCH L 56.2% C 0.104 H 275.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #646FB2 |
|---|---|
| RGB | rgb(100, 111, 178) |
| HSL | hsl(232, 34%, 55%) |
| HSV | hsv(232, 44%, 70%) |
| CMYK | cmyk(43.8%, 37.6%, 0%, 30.2%) |
| CIE-LAB | lab(48.63, 13.66, -36.94) |
| CIE-LCH | lch(48.63, 39.39, 290.29°) |
| OKLab | oklab(56.22% 0.0099 -0.104) |
| OKLCH | oklch(56.22% 0.104 275.4) |
| XYZ | xyz(18.9734, 17.2916, 44.4487) |
| Luminance | 0.1729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 6.51
French Blue
#436BAD
ΔE00 6.94
Dark Periwinkle
#665FD1
ΔE00 7.65
Dusky Blue
#475F94
ΔE00 8.09
Royal Blue
#4169E1
ΔE00 8.28
Cadet Blue
#4E7496
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FB2 #B2A764
analogous
#6496B2 #646FB2 #8064B2
triadic
#646FB2 #B2646F #6FB264
tetradic
#646FB2 #B26496 #B2A764 #64B280
square
#646FB2 #B26496 #B2A764 #64B280
split-complementary
#646FB2 #B28064 #96B264
monochromatic
#343B68 #485291 #646FB2 #8D95C6 #B6BBDB
Accessibility & contrast
On white
4.71
#646FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#646FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646FB2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646FB2 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#5171B0
Tritanopia (blue-blind)
#4A7D88
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #646fb2; /* rgb */ color: rgb(100, 111, 178); /* oklch */ color: oklch(56.2% 0.104 275.4);
Tailwind
colors: {
custom: {
50: '#9498c9',
500: '#646fb2',
950: '#000000',
},
}SCSS
$custom: #646fb2; $custom-light: #9498c9; $custom-dark: #000000;
JSON
{
"hex": "#646fb2",
"rgb": {
"r": 100,
"g": 111,
"b": 178
},
"hsl": {
"h": 231.538,
"s": 33.621,
"l": 54.51
},
"oklch": {
"l": 0.56217,
"c": 0.10443,
"h": 275.4
},
"luminance": 0.17293
}Semantic roles & 50–950 ramp
primary
#646FB2
secondary
#C9C5A8
accent
#BB5ECA
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82