#646FC2#646FC2
#646FC2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.128 H 275.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #646FC2 |
|---|---|
| RGB | rgb(100, 111, 194) |
| HSL | hsl(233, 44%, 58%) |
| HSV | hsv(233, 48%, 76%) |
| CMYK | cmyk(48.5%, 42.8%, 0%, 23.9%) |
| CIE-LAB | lab(49.46, 18.54, -44.86) |
| CIE-LCH | lch(49.46, 48.54, 292.45°) |
| OKLab | oklab(57.13% 0.0131 -0.1271) |
| OKLCH | oklch(57.13% 0.128 275.9) |
| XYZ | xyz(20.6745, 17.9721, 53.4080) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.54
Dark Periwinkle
#665FD1
ΔE00 6.15
Royal Blue
#4169E1
ΔE00 6.40
French Blue
#436BAD
ΔE00 7.25
Slate Blue
#6A5ACD
ΔE00 7.75
Iris
#6258C4
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FC2 #C2B764
analogous
#649EC2 #646FC2 #8864C2
triadic
#646FC2 #C2646F #6FC264
tetradic
#646FC2 #C2649E #C2B764 #64C288
square
#646FC2 #C2649E #C2B764 #64C288
split-complementary
#646FC2 #C28864 #9EC264
monochromatic
#30397B #424EA7 #646FC2 #9098D3 #BCC1E5
Accessibility & contrast
On white
4.57
#646FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#646FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FC2
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FC2 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#4672C0
Tritanopia (blue-blind)
#40808F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #646fc2; /* rgb */ color: rgb(100, 111, 194); /* oklch */ color: oklch(57.1% 0.128 275.9);
Tailwind
colors: {
custom: {
50: '#9598d5',
500: '#646fc2',
950: '#000000',
},
}SCSS
$custom: #646fc2; $custom-light: #9598d5; $custom-dark: #000000;
JSON
{
"hex": "#646fc2",
"rgb": {
"r": 100,
"g": 111,
"b": 194
},
"hsl": {
"h": 232.979,
"s": 43.519,
"l": 57.647
},
"oklch": {
"l": 0.57131,
"c": 0.12776,
"h": 275.9
},
"luminance": 0.17973
}Semantic roles & 50–950 ramp
primary
#646FC2
secondary
#D4CFAE
accent
#C455D3
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83