#646AF9#646AF9
#646AF9 is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.9% C 0.209 H 276.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #646AF9 |
|---|---|
| RGB | rgb(100, 106, 249) |
| HSL | hsl(238, 93%, 68%) |
| HSV | hsv(238, 60%, 98%) |
| CMYK | cmyk(59.8%, 57.4%, 0%, 2.4%) |
| CIE-LAB | lab(51.67, 39.02, -72.39) |
| CIE-LCH | lch(51.67, 82.24, 298.32°) |
| OKLab | oklab(59.9% 0.0227 -0.208) |
| OKLCH | oklch(59.9% 0.209 276.2) |
| XYZ | xyz(27.5029, 19.8548, 91.9872) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.99
Cornflower
#6A79F7
ΔE00 4.65
Royal Blue
#4169E1
ΔE00 6.34
Cornflower Blue
#5170D7
ΔE00 6.35
Dark Periwinkle
#665FD1
ΔE00 6.66
Bright Blue
#0165FC
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646AF9 #F9F364
analogous
#64B4F9 #646AF9 #A864F9
triadic
#646AF9 #F9646A #6AF964
tetradic
#646AF9 #F964B4 #F9F364 #64F9A8
square
#646AF9 #F964B4 #F9F364 #64F9A8
split-complementary
#646AF9 #F9A864 #B4F964
monochromatic
#0811DA #2931F7 #646AF9 #9FA3FB #DADBFE
Accessibility & contrast
On white
4.22
#646AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#646AF9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646AF9
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646AF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646AF9 | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FE
Deuteranopia (green-blind)
#0075F6
Tritanopia (blue-blind)
#008CA7
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #646af9; /* rgb */ color: rgb(100, 106, 249); /* oklch */ color: oklch(59.9% 0.209 276.2);
Tailwind
colors: {
custom: {
50: '#9d94fc',
500: '#646af9',
950: '#000000',
},
}SCSS
$custom: #646af9; $custom-light: #9d94fc; $custom-dark: #000000;
JSON
{
"hex": "#646af9",
"rgb": {
"r": 100,
"g": 106,
"b": 249
},
"hsl": {
"h": 237.584,
"s": 92.547,
"l": 68.431
},
"oklch": {
"l": 0.599,
"c": 0.20927,
"h": 276.2
},
"luminance": 0.19857
}Semantic roles & 50–950 ramp
primary
#646AF9
secondary
#F3F1C6
accent
#DC00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86