#646FAC#646FAC
#646FAC is a mid, moderate blue. Relative luminance 0.171; OKLCH L 55.9% C 0.096 H 275.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #646FAC |
|---|---|
| RGB | rgb(100, 111, 172) |
| HSL | hsl(231, 30%, 53%) |
| HSV | hsv(231, 42%, 67%) |
| CMYK | cmyk(41.9%, 35.5%, 0%, 32.5%) |
| CIE-LAB | lab(48.33, 11.87, -33.91) |
| CIE-LCH | lch(48.33, 35.93, 289.30°) |
| OKLab | oklab(55.89% 0.0085 -0.0952) |
| OKLCH | oklch(55.89% 0.096 275.1) |
| XYZ | xyz(18.3841, 17.0559, 41.3452) |
| Luminance | 0.1706 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 7.07
Cornflower Blue
#5170D7
ΔE00 7.39
Dusky Blue
#475F94
ΔE00 7.76
Dark Periwinkle
#665FD1
ΔE00 8.39
Cadet Blue
#4E7496
ΔE00 8.60
Slate Blue (survey)
#5B7C99
ΔE00 8.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FAC #ACA164
analogous
#6493AC #646FAC #7D64AC
triadic
#646FAC #AC646F #6FAC64
tetradic
#646FAC #AC6493 #ACA164 #64AC7D
square
#646FAC #AC6493 #ACA164 #64AC7D
split-complementary
#646FAC #AC7D64 #93AC64
monochromatic
#343B61 #4A5389 #646FAC #8C94C1 #B4B9D7
Accessibility & contrast
On white
4.76
#646FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#646FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646FAC
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646FAC | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A76AE
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#4D7B85
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #646fac; /* rgb */ color: rgb(100, 111, 172); /* oklch */ color: oklch(55.9% 0.096 275.1);
Tailwind
colors: {
custom: {
50: '#9398c5',
500: '#646fac',
950: '#000000',
},
}SCSS
$custom: #646fac; $custom-light: #9398c5; $custom-dark: #000000;
JSON
{
"hex": "#646fac",
"rgb": {
"r": 100,
"g": 111,
"b": 172
},
"hsl": {
"h": 230.833,
"s": 30.252,
"l": 53.333
},
"oklch": {
"l": 0.55893,
"c": 0.09554,
"h": 275.1
},
"luminance": 0.17057
}Semantic roles & 50–950 ramp
primary
#646FAC
secondary
#C5C1A6
accent
#B761C6
background
#F9F9FC
surface
#F2F2F8
border
#CCCCD1
text
#0D0D13
muted
#7E7E82