#646EC6#646EC6
#646EC6 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.2% C 0.135 H 276.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #646EC6 |
|---|---|
| RGB | rgb(100, 110, 198) |
| HSL | hsl(234, 46%, 58%) |
| HSV | hsv(234, 49%, 78%) |
| CMYK | cmyk(49.5%, 44.4%, 0%, 22.4%) |
| CIE-LAB | lab(49.42, 20.39, -47.23) |
| CIE-LCH | lch(49.42, 51.44, 293.35°) |
| OKLab | oklab(57.17% 0.015 -0.134) |
| OKLCH | oklch(57.17% 0.135 276.4) |
| XYZ | xyz(21.0213, 17.9372, 55.7697) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.30
Dark Periwinkle
#665FD1
ΔE00 5.56
Royal Blue
#4169E1
ΔE00 6.01
Slate Blue
#6A5ACD
ΔE00 7.24
Light Indigo
#6D5ACF
ΔE00 7.46
Iris
#6258C4
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EC6 #C6BC64
analogous
#649FC6 #646EC6 #8B64C6
triadic
#646EC6 #C6646E #6EC664
tetradic
#646EC6 #C6649F #C6BC64 #64C68B
square
#646EC6 #C6649F #C6BC64 #64C68B
split-complementary
#646EC6 #C68B64 #9FC664
monochromatic
#2F3780 #404BAD #646EC6 #9198D6 #BDC2E7
Accessibility & contrast
On white
4.58
#646EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#646EC6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646EC6
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EC6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646EC6 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 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)
#4A7AC9
Deuteranopia (green-blind)
#4172C4
Tritanopia (blue-blind)
#3D8190
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #646ec6; /* rgb */ color: rgb(100, 110, 198); /* oklch */ color: oklch(57.2% 0.135 276.4);
Tailwind
colors: {
custom: {
50: '#9697d8',
500: '#646ec6',
950: '#000000',
},
}SCSS
$custom: #646ec6; $custom-light: #9697d8; $custom-dark: #000000;
JSON
{
"hex": "#646ec6",
"rgb": {
"r": 100,
"g": 110,
"b": 198
},
"hsl": {
"h": 233.878,
"s": 46.226,
"l": 58.431
},
"oklch": {
"l": 0.57171,
"c": 0.13485,
"h": 276.4
},
"luminance": 0.17938
}Semantic roles & 50–950 ramp
primary
#646EC6
secondary
#D6D2AF
accent
#C852D6
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83