#646CA6#646CA6
#646CA6 is a mid, moderate blue. Relative luminance 0.162; OKLCH L 54.9% C 0.091 H 277.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #646CA6 |
|---|---|
| RGB | rgb(100, 108, 166) |
| HSL | hsl(233, 27%, 52%) |
| HSV | hsv(233, 40%, 65%) |
| CMYK | cmyk(39.8%, 34.9%, 0%, 34.9%) |
| CIE-LAB | lab(47.22, 11.95, -32.15) |
| CIE-LCH | lch(47.22, 34.30, 290.39°) |
| OKLab | oklab(54.94% 0.011 -0.09) |
| OKLCH | oklch(54.94% 0.091 277) |
| XYZ | xyz(17.4990, 16.1869, 38.2714) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 7.16
French Blue
#436BAD
ΔE00 7.67
Dark Periwinkle
#665FD1
ΔE00 8.65
Cornflower Blue
#5170D7
ΔE00 8.70
Iris
#6258C4
ΔE00 8.96
Cadet Blue
#4E7496
ΔE00 9.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CA6 #A69E64
analogous
#648DA6 #646CA6 #7D64A6
triadic
#646CA6 #A6646C #6CA664
tetradic
#646CA6 #A6648D #A69E64 #64A67D
square
#646CA6 #A6648D #A69E64 #64A67D
split-complementary
#646CA6 #A67D64 #8DA664
monochromatic
#34395B #4B5182 #646CA6 #8B91BC #B2B6D3
Accessibility & contrast
On white
4.96
#646CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#646CA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646CA6
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646CA6 | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5973A8
Deuteranopia (green-blind)
#546EA5
Tritanopia (blue-blind)
#507781
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #646ca6; /* rgb */ color: rgb(100, 108, 166); /* oklch */ color: oklch(54.9% 0.091 277.0);
Tailwind
colors: {
custom: {
50: '#9396c0',
500: '#646ca6',
950: '#000000',
},
}SCSS
$custom: #646ca6; $custom-light: #9396c0; $custom-dark: #000000;
JSON
{
"hex": "#646ca6",
"rgb": {
"r": 100,
"g": 108,
"b": 166
},
"hsl": {
"h": 232.727,
"s": 27.049,
"l": 52.157
},
"oklch": {
"l": 0.54942,
"c": 0.09072,
"h": 277
},
"luminance": 0.16188
}Semantic roles & 50–950 ramp
primary
#646CA6
secondary
#C1BEA4
accent
#B864C3
background
#F9F9FB
surface
#F1F1F7
border
#CBCBD0
text
#0D0D12
muted
#7E7E81