#646FC7#646FC7
#646FC7 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.135 H 275.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #646FC7 |
|---|---|
| RGB | rgb(100, 111, 199) |
| HSL | hsl(233, 47%, 59%) |
| HSV | hsv(233, 50%, 78%) |
| CMYK | cmyk(49.7%, 44.2%, 0%, 22%) |
| CIE-LAB | lab(49.74, 20.09, -47.29) |
| CIE-LCH | lch(49.74, 51.38, 293.01°) |
| OKLab | oklab(57.43% 0.0139 -0.1342) |
| OKLCH | oklch(57.43% 0.135 275.9) |
| XYZ | xyz(21.2455, 18.2005, 56.4153) |
| Luminance | 0.1820 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.08
Dark Periwinkle
#665FD1
ΔE00 5.86
Royal Blue
#4169E1
ΔE00 5.94
Cornflower
#6A79F7
ΔE00 7.38
French Blue
#436BAD
ΔE00 7.50
Slate Blue
#6A5ACD
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FC7 #C7BC64
analogous
#64A0C7 #646FC7 #8A64C7
triadic
#646FC7 #C7646F #6FC764
tetradic
#646FC7 #C764A0 #C7BC64 #64C78A
square
#646FC7 #C764A0 #C7BC64 #64C78A
split-complementary
#646FC7 #C78A64 #A0C764
monochromatic
#2F3882 #3F4CAF #646FC7 #9199D7 #BEC3E7
Accessibility & contrast
On white
4.53
#646FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#646FC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FC7
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FC7 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B7ACA
Deuteranopia (green-blind)
#4172C5
Tritanopia (blue-blind)
#3C8291
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #646fc7; /* rgb */ color: rgb(100, 111, 199); /* oklch */ color: oklch(57.4% 0.135 275.9);
Tailwind
colors: {
custom: {
50: '#9698d8',
500: '#646fc7',
950: '#000000',
},
}SCSS
$custom: #646fc7; $custom-light: #9698d8; $custom-dark: #000000;
JSON
{
"hex": "#646fc7",
"rgb": {
"r": 100,
"g": 111,
"b": 199
},
"hsl": {
"h": 233.333,
"s": 46.919,
"l": 58.627
},
"oklch": {
"l": 0.57432,
"c": 0.13493,
"h": 275.9
},
"luminance": 0.18202
}Semantic roles & 50–950 ramp
primary
#646FC7
secondary
#D7D3B0
accent
#C851D7
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83