#646AFD#646AFD
#646AFD is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.2% C 0.214 H 276.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #646AFD |
|---|---|
| RGB | rgb(100, 106, 253) |
| HSL | hsl(238, 97%, 69%) |
| HSV | hsv(238, 60%, 99%) |
| CMYK | cmyk(60.5%, 58.1%, 0%, 0.8%) |
| CIE-LAB | lab(51.96, 40.30, -74.15) |
| CIE-LCH | lch(51.96, 84.39, 298.52°) |
| OKLab | oklab(60.2% 0.0227 -0.2132) |
| OKLCH | oklch(60.2% 0.214 276.1) |
| XYZ | xyz(28.1334, 20.1070, 95.3080) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.10
Cornflower
#6A79F7
ΔE00 4.63
Royal Blue
#4169E1
ΔE00 6.67
Cornflower Blue
#5170D7
ΔE00 6.71
Dark Periwinkle
#665FD1
ΔE00 7.09
Bright Blue
#0165FC
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646AFD #FDF764
analogous
#64B7FD #646AFD #AB64FD
triadic
#646AFD #FD646A #6AFD64
tetradic
#646AFD #FD64B7 #FDF764 #64FDAB
square
#646AFD #FD64B7 #FDF764 #64FDAB
split-complementary
#646AFD #FDAB64 #B7FD64
monochromatic
#030CE4 #2830FC #646AFD #A0A4FE #DDDEFF
Accessibility & contrast
On white
4.18
#646AFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#646AFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646AFD
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646AFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646AFD | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 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)
#0083FF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#008EA9
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #646afd; /* rgb */ color: rgb(100, 106, 253); /* oklch */ color: oklch(60.2% 0.214 276.1);
Tailwind
colors: {
custom: {
50: '#9e94ff',
500: '#646afd',
950: '#000000',
},
}SCSS
$custom: #646afd; $custom-light: #9e94ff; $custom-dark: #000000;
JSON
{
"hex": "#646afd",
"rgb": {
"r": 100,
"g": 106,
"b": 253
},
"hsl": {
"h": 237.647,
"s": 97.452,
"l": 69.216
},
"oklch": {
"l": 0.60201,
"c": 0.21441,
"h": 276.1
},
"luminance": 0.20109
}Semantic roles & 50–950 ramp
primary
#646AFD
secondary
#F5F3C8
accent
#DC00E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#100D18
muted
#7F7E86