#646DC2#646DC2
#646DC2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.7% C 0.130 H 276.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #646DC2 |
|---|---|
| RGB | rgb(100, 109, 194) |
| HSL | hsl(234, 44%, 58%) |
| HSV | hsv(234, 48%, 76%) |
| CMYK | cmyk(48.5%, 43.8%, 0%, 23.9%) |
| CIE-LAB | lab(48.93, 19.76, -45.70) |
| CIE-LCH | lch(48.93, 49.79, 293.39°) |
| OKLab | oklab(56.73% 0.0155 -0.1296) |
| OKLCH | oklch(56.73% 0.13 276.8) |
| XYZ | xyz(20.4588, 17.5405, 53.3361) |
| Luminance | 0.1754 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.81
Dark Periwinkle
#665FD1
ΔE00 5.49
Royal Blue
#4169E1
ΔE00 6.39
Slate Blue
#6A5ACD
ΔE00 7.05
Iris
#6258C4
ΔE00 7.17
Light Indigo
#6D5ACF
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646DC2 #C2B964
analogous
#649CC2 #646DC2 #8A64C2
triadic
#646DC2 #C2646D #6DC264
tetradic
#646DC2 #C2649C #C2B964 #64C28A
square
#646DC2 #C2649C #C2B964 #64C28A
split-complementary
#646DC2 #C28A64 #9CC264
monochromatic
#30387B #424BA7 #646DC2 #9096D3 #BCC0E5
Accessibility & contrast
On white
4.66
#646DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#646DC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #646DC2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646DC2 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B78C5
Deuteranopia (green-blind)
#4371C0
Tritanopia (blue-blind)
#407F8E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #646dc2; /* rgb */ color: rgb(100, 109, 194); /* oklch */ color: oklch(56.7% 0.130 276.8);
Tailwind
colors: {
custom: {
50: '#9596d5',
500: '#646dc2',
950: '#000000',
},
}SCSS
$custom: #646dc2; $custom-light: #9596d5; $custom-dark: #000000;
JSON
{
"hex": "#646dc2",
"rgb": {
"r": 100,
"g": 109,
"b": 194
},
"hsl": {
"h": 234.255,
"s": 43.519,
"l": 57.647
},
"oklch": {
"l": 0.56729,
"c": 0.13049,
"h": 276.8
},
"luminance": 0.17542
}Semantic roles & 50–950 ramp
primary
#646DC2
secondary
#D4D0AE
accent
#C755D3
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83