#646AEC#646AEC
#646AEC is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.9% C 0.192 H 276.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #646AEC |
|---|---|
| RGB | rgb(100, 106, 236) |
| HSL | hsl(237, 78%, 66%) |
| HSV | hsv(237, 58%, 93%) |
| CMYK | cmyk(57.6%, 55.1%, 0%, 7.5%) |
| CIE-LAB | lab(50.77, 34.86, -66.60) |
| CIE-LCH | lch(50.77, 75.17, 297.63°) |
| OKLab | oklab(58.95% 0.0226 -0.191) |
| OKLCH | oklch(58.95% 0.192 276.8) |
| XYZ | xyz(25.5450, 19.0717, 81.6757) |
| Luminance | 0.1907 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.04
Cornflower
#6A79F7
ΔE00 5.05
Cornflower Blue
#5170D7
ΔE00 5.29
Dark Periwinkle
#665FD1
ΔE00 5.33
Royal Blue
#4169E1
ΔE00 5.47
Light Indigo
#6D5ACF
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646AEC #ECE664
analogous
#64AEEC #646AEC #A264EC
triadic
#646AEC #EC646A #6AEC64
tetradic
#646AEC #EC64AE #ECE664 #64ECA2
square
#646AEC #EC64AE #ECE664 #64ECA2
split-complementary
#646AEC #ECA264 #AEEC64
monochromatic
#171FBE #2D36E5 #646AEC #9B9EF3 #D1D3F9
Accessibility & contrast
On white
4.36
#646AEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#646AEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646AEC
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646AEC | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF0
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#0088A1
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #646aec; /* rgb */ color: rgb(100, 106, 236); /* oklch */ color: oklch(58.9% 0.192 276.8);
Tailwind
colors: {
custom: {
50: '#9b94f3',
500: '#646aec',
950: '#000000',
},
}SCSS
$custom: #646aec; $custom-light: #9b94f3; $custom-dark: #000000;
JSON
{
"hex": "#646aec",
"rgb": {
"r": 100,
"g": 106,
"b": 236
},
"hsl": {
"h": 237.353,
"s": 78.161,
"l": 65.882
},
"oklch": {
"l": 0.58945,
"c": 0.19232,
"h": 276.8
},
"luminance": 0.19074
}Semantic roles & 50–950 ramp
primary
#646AEC
secondary
#ECEABF
accent
#D10BDA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#0F0D17
muted
#7F7E85