#646CF6#646CF6
#646CF6 is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.0% C 0.203 H 275.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #646CF6 |
|---|---|
| RGB | rgb(100, 108, 246) |
| HSL | hsl(237, 89%, 68%) |
| HSV | hsv(237, 59%, 96%) |
| CMYK | cmyk(59.3%, 56.1%, 0%, 3.5%) |
| CIE-LAB | lab(51.93, 36.86, -70.30) |
| CIE-LCH | lch(51.93, 79.38, 297.67°) |
| OKLab | oklab(60.03% 0.0209 -0.2019) |
| OKLCH | oklch(60.03% 0.203 275.9) |
| XYZ | xyz(27.2472, 20.0862, 89.6121) |
| Luminance | 0.2009 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.08
Mediumslateblue
#7B68EE
ΔE00 4.19
Cornflower Blue
#5170D7
ΔE00 5.84
Royal Blue
#4169E1
ΔE00 6.09
Dark Periwinkle
#665FD1
ΔE00 6.76
Bright Blue
#0165FC
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CF6 #F6EE64
analogous
#64B5F6 #646CF6 #A564F6
triadic
#646CF6 #F6646C #6CF664
tetradic
#646CF6 #F664B5 #F6EE64 #64F6A5
square
#646CF6 #F664B5 #F6EE64 #64F6A5
split-complementary
#646CF6 #F6A564 #B5F664
monochromatic
#0C17D3 #2A35F3 #646CF6 #9EA3F9 #D8DAFD
Accessibility & contrast
On white
4.19
#646CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#646CF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CF6
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CF6 | 1.00 | 4.19 | 5.02 | 5.02 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FB
Deuteranopia (green-blind)
#0076F3
Tritanopia (blue-blind)
#008DA7
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #646cf6; /* rgb */ color: rgb(100, 108, 246); /* oklch */ color: oklch(60.0% 0.203 275.9);
Tailwind
colors: {
custom: {
50: '#9d96fa',
500: '#646cf6',
950: '#000000',
},
}SCSS
$custom: #646cf6; $custom-light: #9d96fa; $custom-dark: #000000;
JSON
{
"hex": "#646cf6",
"rgb": {
"r": 100,
"g": 108,
"b": 246
},
"hsl": {
"h": 236.712,
"s": 89.024,
"l": 67.843
},
"oklch": {
"l": 0.60028,
"c": 0.20294,
"h": 275.9
},
"luminance": 0.20088
}Semantic roles & 50–950 ramp
primary
#646CF6
secondary
#F1EFC4
accent
#D900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85