#646DFF#646DFF
#646DFF is a mid, highly saturated blue. Relative luminance 0.209; OKLCH L 60.9% C 0.213 H 275.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #646DFF |
|---|---|
| RGB | rgb(100, 109, 255) |
| HSL | hsl(237, 100%, 70%) |
| HSV | hsv(237, 61%, 100%) |
| CMYK | cmyk(60.8%, 57.3%, 0%, 0%) |
| CIE-LAB | lab(52.80, 39.15, -73.89) |
| CIE-LCH | lch(52.80, 83.62, 297.92°) |
| OKLab | oklab(60.87% 0.0201 -0.2124) |
| OKLCH | oklch(60.87% 0.213 275.4) |
| XYZ | xyz(28.7683, 20.8643, 97.0996) |
| Luminance | 0.2087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.75
Mediumslateblue
#7B68EE
ΔE00 4.57
Cornflower Blue
#5170D7
ΔE00 6.62
Royal Blue
#4169E1
ΔE00 6.86
Lightish Blue
#3D7AFD
ΔE00 7.19
Bright Blue
#0165FC
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646DFF #FFF664
analogous
#64BBFF #646DFF #A964FF
triadic
#646DFF #FF646D #6DFF64
tetradic
#646DFF #FF64BB #FFF664 #64FFA9
square
#646DFF #FF64BB #FFF664 #64FFA9
split-complementary
#646DFF #FFA964 #BBFF64
monochromatic
#000EE9 #2733FF #646DFF #A1A7FF #DEE0FF
Accessibility & contrast
On white
4.06
#646DFF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#646DFF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646DFF
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646DFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646DFF | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#0077FC
Tritanopia (blue-blind)
#0090AC
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #646dff; /* rgb */ color: rgb(100, 109, 255); /* oklch */ color: oklch(60.9% 0.213 275.4);
Tailwind
colors: {
custom: {
50: '#9e97ff',
500: '#646dff',
950: '#000000',
},
}SCSS
$custom: #646dff; $custom-light: #9e97ff; $custom-dark: #000000;
JSON
{
"hex": "#646dff",
"rgb": {
"r": 100,
"g": 109,
"b": 255
},
"hsl": {
"h": 236.516,
"s": 100,
"l": 69.608
},
"oklch": {
"l": 0.6087,
"c": 0.21335,
"h": 275.4
},
"luminance": 0.20867
}Semantic roles & 50–950 ramp
primary
#646DFF
secondary
#F6F3C9
accent
#D800E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86