#646AE3#646AE3
#646AE3 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.3% C 0.180 H 277.1°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #646AE3 |
|---|---|
| RGB | rgb(100, 106, 227) |
| HSL | hsl(237, 69%, 64%) |
| HSV | hsv(237, 56%, 89%) |
| CMYK | cmyk(55.9%, 53.3%, 0%, 11%) |
| CIE-LAB | lab(50.17, 31.99, -62.51) |
| CIE-LCH | lch(50.17, 70.22, 297.10°) |
| OKLab | oklab(58.3% 0.0223 -0.179) |
| OKLCH | oklch(58.3% 0.18 277.1) |
| XYZ | xyz(24.2703, 18.5618, 74.9620) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.45
Dark Periwinkle
#665FD1
ΔE00 4.54
Cornflower Blue
#5170D7
ΔE00 4.74
Royal Blue
#4169E1
ΔE00 5.12
Cornflower
#6A79F7
ΔE00 5.60
Slate Blue
#6A5ACD
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646AE3 #E3DD64
analogous
#64AAE3 #646AE3 #9E64E3
triadic
#646AE3 #E3646A #6AE364
tetradic
#646AE3 #E364AA #E3DD64 #64E39E
square
#646AE3 #E364AA #E3DD64 #64E39E
split-complementary
#646AE3 #E39E64 #AAE364
monochromatic
#1F26AD #3038DA #646AE3 #989CEC #CCCEF6
Accessibility & contrast
On white
4.46
#646AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#646AE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646AE3
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646AE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646AE3 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F7DE7
Deuteranopia (green-blind)
#0072E0
Tritanopia (blue-blind)
#1C869C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #646ae3; /* rgb */ color: rgb(100, 106, 227); /* oklch */ color: oklch(58.3% 0.180 277.1);
Tailwind
colors: {
custom: {
50: '#9a94ed',
500: '#646ae3',
950: '#000000',
},
}SCSS
$custom: #646ae3; $custom-light: #9a94ed; $custom-dark: #000000;
JSON
{
"hex": "#646ae3",
"rgb": {
"r": 100,
"g": 106,
"b": 227
},
"hsl": {
"h": 237.165,
"s": 69.399,
"l": 64.118
},
"oklch": {
"l": 0.58305,
"c": 0.18035,
"h": 277.1
},
"luminance": 0.18563
}Semantic roles & 50–950 ramp
primary
#646AE3
secondary
#E8E5BB
accent
#C814D1
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84