#646BF6#646BF6
#646BF6 is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.9% C 0.204 H 276.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #646BF6 |
|---|---|
| RGB | rgb(100, 107, 246) |
| HSL | hsl(237, 89%, 68%) |
| HSV | hsv(237, 59%, 96%) |
| CMYK | cmyk(59.3%, 56.5%, 0%, 3.5%) |
| CIE-LAB | lab(51.70, 37.46, -70.68) |
| CIE-LCH | lch(51.70, 80.00, 297.92°) |
| OKLab | oklab(59.85% 0.0218 -0.203) |
| OKLCH | oklch(59.85% 0.204 276.1) |
| XYZ | xyz(27.1424, 19.8765, 89.5771) |
| Luminance | 0.1988 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.05
Cornflower
#6A79F7
ΔE00 4.39
Cornflower Blue
#5170D7
ΔE00 5.95
Royal Blue
#4169E1
ΔE00 6.09
Dark Periwinkle
#665FD1
ΔE00 6.55
Bright Blue
#0165FC
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646BF6 #F6EF64
analogous
#64B4F6 #646BF6 #A664F6
triadic
#646BF6 #F6646B #6BF664
tetradic
#646BF6 #F664B4 #F6EF64 #64F6A6
square
#646BF6 #F664B4 #F6EF64 #64F6A6
split-complementary
#646BF6 #F6A664 #B4F664
monochromatic
#0C16D3 #2A34F3 #646BF6 #9EA2F9 #D8D9FD
Accessibility & contrast
On white
4.22
#646BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#646BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646BF6
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646BF6 | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#0075F3
Tritanopia (blue-blind)
#008CA6
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #646bf6; /* rgb */ color: rgb(100, 107, 246); /* oklch */ color: oklch(59.9% 0.204 276.1);
Tailwind
colors: {
custom: {
50: '#9d95fa',
500: '#646bf6',
950: '#000000',
},
}SCSS
$custom: #646bf6; $custom-light: #9d95fa; $custom-dark: #000000;
JSON
{
"hex": "#646bf6",
"rgb": {
"r": 100,
"g": 107,
"b": 246
},
"hsl": {
"h": 237.123,
"s": 89.024,
"l": 67.843
},
"oklch": {
"l": 0.59852,
"c": 0.20417,
"h": 276.1
},
"luminance": 0.19879
}Semantic roles & 50–950 ramp
primary
#646BF6
secondary
#F1EFC4
accent
#DA00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85