#646AF0#646AF0
#646AF0 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.2% C 0.198 H 276.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #646AF0 |
|---|---|
| RGB | rgb(100, 106, 240) |
| HSL | hsl(237, 82%, 67%) |
| HSV | hsv(237, 58%, 94%) |
| CMYK | cmyk(58.3%, 55.8%, 0%, 5.9%) |
| CIE-LAB | lab(51.04, 36.14, -68.40) |
| CIE-LCH | lch(51.04, 77.36, 297.85°) |
| OKLab | oklab(59.24% 0.0227 -0.1963) |
| OKLCH | oklch(59.24% 0.198 276.6) |
| XYZ | xyz(26.1327, 19.3067, 84.7707) |
| Luminance | 0.1931 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.95
Cornflower
#6A79F7
ΔE00 4.88
Cornflower Blue
#5170D7
ΔE00 5.59
Royal Blue
#4169E1
ΔE00 5.70
Dark Periwinkle
#665FD1
ΔE00 5.72
Bright Blue
#0165FC
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646AF0 #F0EA64
analogous
#64B0F0 #646AF0 #A464F0
triadic
#646AF0 #F0646A #6AF064
tetradic
#646AF0 #F064B0 #F0EA64 #64F0A4
square
#646AF0 #F064B0 #F0EA64 #64F0A4
split-complementary
#646AF0 #F0A464 #B0F064
monochromatic
#131BC6 #2C34EB #646AF0 #9CA0F5 #D4D5FB
Accessibility & contrast
On white
4.32
#646AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#646AF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646AF0
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646AF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646AF0 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#008AA3
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #646af0; /* rgb */ color: rgb(100, 106, 240); /* oklch */ color: oklch(59.2% 0.198 276.6);
Tailwind
colors: {
custom: {
50: '#9c94f6',
500: '#646af0',
950: '#000000',
},
}SCSS
$custom: #646af0; $custom-light: #9c94f6; $custom-dark: #000000;
JSON
{
"hex": "#646af0",
"rgb": {
"r": 100,
"g": 106,
"b": 240
},
"hsl": {
"h": 237.429,
"s": 82.353,
"l": 66.667
},
"oklch": {
"l": 0.59235,
"c": 0.19759,
"h": 276.6
},
"luminance": 0.19309
}Semantic roles & 50–950 ramp
primary
#646AF0
secondary
#EEEDC1
accent
#D507DF
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85