#646EC2#646EC2
#646EC2 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.9% C 0.129 H 276.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #646EC2 |
|---|---|
| RGB | rgb(100, 110, 194) |
| HSL | hsl(234, 44%, 58%) |
| HSV | hsv(234, 48%, 76%) |
| CMYK | cmyk(48.5%, 43.3%, 0%, 23.9%) |
| CIE-LAB | lab(49.20, 19.15, -45.28) |
| CIE-LCH | lch(49.20, 49.17, 292.92°) |
| OKLab | oklab(56.93% 0.0143 -0.1283) |
| OKLCH | oklch(56.93% 0.129 276.4) |
| XYZ | xyz(20.5660, 17.7551, 53.3719) |
| Luminance | 0.1776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.66
Dark Periwinkle
#665FD1
ΔE00 5.81
Royal Blue
#4169E1
ΔE00 6.38
French Blue
#436BAD
ΔE00 7.30
Slate Blue
#6A5ACD
ΔE00 7.40
Iris
#6258C4
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EC2 #C2B864
analogous
#649DC2 #646EC2 #8964C2
triadic
#646EC2 #C2646E #6EC264
tetradic
#646EC2 #C2649D #C2B864 #64C289
square
#646EC2 #C2649D #C2B864 #64C289
split-complementary
#646EC2 #C28964 #9DC264
monochromatic
#30387B #424DA7 #646EC2 #9097D3 #BCC0E5
Accessibility & contrast
On white
4.61
#646EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#646EC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #646EC2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646EC2 | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#40808E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #646ec2; /* rgb */ color: rgb(100, 110, 194); /* oklch */ color: oklch(56.9% 0.129 276.4);
Tailwind
colors: {
custom: {
50: '#9597d5',
500: '#646ec2',
950: '#000000',
},
}SCSS
$custom: #646ec2; $custom-light: #9597d5; $custom-dark: #000000;
JSON
{
"hex": "#646ec2",
"rgb": {
"r": 100,
"g": 110,
"b": 194
},
"hsl": {
"h": 233.617,
"s": 43.519,
"l": 57.647
},
"oklch": {
"l": 0.5693,
"c": 0.12913,
"h": 276.4
},
"luminance": 0.17756
}Semantic roles & 50–950 ramp
primary
#646EC2
secondary
#D4D0AE
accent
#C655D3
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83