#646FC4#646FC4
#646FC4 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.3% C 0.131 H 275.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #646FC4 |
|---|---|
| RGB | rgb(100, 111, 196) |
| HSL | hsl(233, 45%, 58%) |
| HSV | hsv(233, 49%, 77%) |
| CMYK | cmyk(49%, 43.4%, 0%, 23.1%) |
| CIE-LAB | lab(49.57, 19.16, -45.84) |
| CIE-LCH | lch(49.57, 49.68, 292.68°) |
| OKLab | oklab(57.25% 0.0134 -0.1299) |
| OKLCH | oklch(57.25% 0.131 275.9) |
| XYZ | xyz(20.9007, 18.0625, 54.5989) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.34
Dark Periwinkle
#665FD1
ΔE00 6.02
Royal Blue
#4169E1
ΔE00 6.21
French Blue
#436BAD
ΔE00 7.34
Slate Blue
#6A5ACD
ΔE00 7.67
Cornflower
#6A79F7
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FC4 #C4B964
analogous
#649FC4 #646FC4 #8964C4
triadic
#646FC4 #C4646F #6FC464
tetradic
#646FC4 #C4649F #C4B964 #64C489
square
#646FC4 #C4649F #C4B964 #64C489
split-complementary
#646FC4 #C48964 #9FC464
monochromatic
#30397E #414DAA #646FC4 #9098D5 #BDC1E6
Accessibility & contrast
On white
4.55
#646FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#646FC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FC4
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FC4 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D7AC7
Deuteranopia (green-blind)
#4472C2
Tritanopia (blue-blind)
#3F8190
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #646fc4; /* rgb */ color: rgb(100, 111, 196); /* oklch */ color: oklch(57.3% 0.131 275.9);
Tailwind
colors: {
custom: {
50: '#9698d6',
500: '#646fc4',
950: '#000000',
},
}SCSS
$custom: #646fc4; $custom-light: #9698d6; $custom-dark: #000000;
JSON
{
"hex": "#646fc4",
"rgb": {
"r": 100,
"g": 111,
"b": 196
},
"hsl": {
"h": 233.125,
"s": 44.86,
"l": 58.039
},
"oklch": {
"l": 0.57251,
"c": 0.13063,
"h": 275.9
},
"luminance": 0.18064
}Semantic roles & 50–950 ramp
primary
#646FC4
secondary
#D5D1AF
accent
#C653D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83