#646AF6#646AF6
#646AF6 is a mid, highly saturated blue. Relative luminance 0.197; OKLCH L 59.7% C 0.205 H 276.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #646AF6 |
|---|---|
| RGB | rgb(100, 106, 246) |
| HSL | hsl(238, 89%, 68%) |
| HSV | hsv(238, 59%, 96%) |
| CMYK | cmyk(59.3%, 56.9%, 0%, 3.5%) |
| CIE-LAB | lab(51.46, 38.06, -71.07) |
| CIE-LCH | lch(51.46, 80.62, 298.17°) |
| OKLab | oklab(59.68% 0.0228 -0.2041) |
| OKLCH | oklch(59.68% 0.205 276.4) |
| XYZ | xyz(27.0387, 19.6692, 89.5426) |
| Luminance | 0.1967 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.94
Cornflower
#6A79F7
ΔE00 4.70
Cornflower Blue
#5170D7
ΔE00 6.08
Royal Blue
#4169E1
ΔE00 6.11
Dark Periwinkle
#665FD1
ΔE00 6.34
Bright Blue
#0165FC
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646AF6 #F6F064
analogous
#64B3F6 #646AF6 #A764F6
triadic
#646AF6 #F6646A #6AF664
tetradic
#646AF6 #F664B3 #F6F064 #64F6A7
square
#646AF6 #F664B3 #F6F064 #64F6A7
split-complementary
#646AF6 #F6A764 #B3F664
monochromatic
#0C14D3 #2A32F3 #646AF6 #9EA2F9 #D8D9FD
Accessibility & contrast
On white
4.26
#646AF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#646AF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646AF6
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646AF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646AF6 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#008BA6
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #646af6; /* rgb */ color: rgb(100, 106, 246); /* oklch */ color: oklch(59.7% 0.205 276.4);
Tailwind
colors: {
custom: {
50: '#9d94fa',
500: '#646af6',
950: '#000000',
},
}SCSS
$custom: #646af6; $custom-light: #9d94fa; $custom-dark: #000000;
JSON
{
"hex": "#646af6",
"rgb": {
"r": 100,
"g": 106,
"b": 246
},
"hsl": {
"h": 237.534,
"s": 89.024,
"l": 67.843
},
"oklch": {
"l": 0.59676,
"c": 0.20539,
"h": 276.4
},
"luminance": 0.19671
}Semantic roles & 50–950 ramp
primary
#646AF6
secondary
#F1F0C4
accent
#DC00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D17
muted
#7F7E85