#646DC4#646DC4
#646DC4 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.9% C 0.133 H 276.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #646DC4 |
|---|---|
| RGB | rgb(100, 109, 196) |
| HSL | hsl(234, 45%, 58%) |
| HSV | hsv(234, 49%, 77%) |
| CMYK | cmyk(49%, 44.4%, 0%, 23.1%) |
| CIE-LAB | lab(49.05, 20.38, -46.68) |
| CIE-LCH | lch(49.05, 50.93, 293.59°) |
| OKLab | oklab(56.85% 0.0158 -0.1324) |
| OKLCH | oklch(56.85% 0.133 276.8) |
| XYZ | xyz(20.6849, 17.6309, 54.5270) |
| Luminance | 0.1763 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.62
Dark Periwinkle
#665FD1
ΔE00 5.34
Royal Blue
#4169E1
ΔE00 6.19
Slate Blue
#6A5ACD
ΔE00 6.96
Iris
#6258C4
ΔE00 7.13
Light Indigo
#6D5ACF
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646DC4 #C4BB64
analogous
#649DC4 #646DC4 #8B64C4
triadic
#646DC4 #C4646D #6DC464
tetradic
#646DC4 #C4649D #C4BB64 #64C48B
square
#646DC4 #C4649D #C4BB64 #64C48B
split-complementary
#646DC4 #C48B64 #9DC464
monochromatic
#30377E #414BAA #646DC4 #9097D5 #BDC1E6
Accessibility & contrast
On white
4.64
#646DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#646DC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #646DC4
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646DC4 | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4979C7
Deuteranopia (green-blind)
#4171C2
Tritanopia (blue-blind)
#3F7F8F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #646dc4; /* rgb */ color: rgb(100, 109, 196); /* oklch */ color: oklch(56.9% 0.133 276.8);
Tailwind
colors: {
custom: {
50: '#9696d6',
500: '#646dc4',
950: '#000000',
},
}SCSS
$custom: #646dc4; $custom-light: #9696d6; $custom-dark: #000000;
JSON
{
"hex": "#646dc4",
"rgb": {
"r": 100,
"g": 109,
"b": 196
},
"hsl": {
"h": 234.375,
"s": 44.86,
"l": 58.039
},
"oklch": {
"l": 0.5685,
"c": 0.13335,
"h": 276.8
},
"luminance": 0.17632
}Semantic roles & 50–950 ramp
primary
#646DC4
secondary
#D5D1AF
accent
#C853D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83