#646DC5#646DC5
#646DC5 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.135 H 276.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #646DC5 |
|---|---|
| RGB | rgb(100, 109, 197) |
| HSL | hsl(234, 46%, 58%) |
| HSV | hsv(234, 49%, 77%) |
| CMYK | cmyk(49.2%, 44.7%, 0%, 22.7%) |
| CIE-LAB | lab(49.10, 20.69, -47.16) |
| CIE-LCH | lch(49.10, 51.50, 293.69°) |
| OKLab | oklab(56.91% 0.016 -0.1338) |
| OKLCH | oklch(56.91% 0.135 276.8) |
| XYZ | xyz(20.7991, 17.6766, 55.1285) |
| Luminance | 0.1768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.54
Dark Periwinkle
#665FD1
ΔE00 5.28
Royal Blue
#4169E1
ΔE00 6.10
Slate Blue
#6A5ACD
ΔE00 6.92
Iris
#6258C4
ΔE00 7.12
Light Indigo
#6D5ACF
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646DC5 #C5BC64
analogous
#649DC5 #646DC5 #8B64C5
triadic
#646DC5 #C5646D #6DC564
tetradic
#646DC5 #C5649D #C5BC64 #64C58B
square
#646DC5 #C5649D #C5BC64 #64C58B
split-complementary
#646DC5 #C58B64 #9DC564
monochromatic
#30377F #404AAC #646DC5 #9197D6 #BDC1E6
Accessibility & contrast
On white
4.63
#646DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#646DC5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #646DC5
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646DC5 | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4979C8
Deuteranopia (green-blind)
#4071C3
Tritanopia (blue-blind)
#3E808F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #646dc5; /* rgb */ color: rgb(100, 109, 197); /* oklch */ color: oklch(56.9% 0.135 276.8);
Tailwind
colors: {
custom: {
50: '#9696d7',
500: '#646dc5',
950: '#000000',
},
}SCSS
$custom: #646dc5; $custom-light: #9696d7; $custom-dark: #000000;
JSON
{
"hex": "#646dc5",
"rgb": {
"r": 100,
"g": 109,
"b": 197
},
"hsl": {
"h": 234.433,
"s": 45.54,
"l": 58.235
},
"oklch": {
"l": 0.56911,
"c": 0.13478,
"h": 276.8
},
"luminance": 0.17678
}Semantic roles & 50–950 ramp
primary
#646DC5
secondary
#D6D2AF
accent
#C953D5
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83