#646DC1#646DC1
#646DC1 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.7% C 0.129 H 276.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #646DC1 |
|---|---|
| RGB | rgb(100, 109, 193) |
| HSL | hsl(234, 43%, 57%) |
| HSV | hsv(234, 48%, 76%) |
| CMYK | cmyk(48.2%, 43.5%, 0%, 24.3%) |
| CIE-LAB | lab(48.88, 19.45, -45.22) |
| CIE-LCH | lch(48.88, 49.22, 293.28°) |
| OKLab | oklab(56.67% 0.0154 -0.1281) |
| OKLCH | oklch(56.67% 0.129 276.8) |
| XYZ | xyz(20.3468, 17.4957, 52.7466) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.91
Dark Periwinkle
#665FD1
ΔE00 5.56
Royal Blue
#4169E1
ΔE00 6.49
Slate Blue
#6A5ACD
ΔE00 7.10
Iris
#6258C4
ΔE00 7.19
French Blue
#436BAD
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646DC1 #C1B864
analogous
#649BC1 #646DC1 #8A64C1
triadic
#646DC1 #C1646D #6DC164
tetradic
#646DC1 #C1649B #C1B864 #64C18A
square
#646DC1 #C1649B #C1B864 #64C18A
split-complementary
#646DC1 #C18A64 #9BC164
monochromatic
#31387A #424CA6 #646DC1 #9096D2 #BBBFE4
Accessibility & contrast
On white
4.67
#646DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#646DC1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #646DC1
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646DC1 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B78C4
Deuteranopia (green-blind)
#4371BF
Tritanopia (blue-blind)
#417F8D
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #646dc1; /* rgb */ color: rgb(100, 109, 193); /* oklch */ color: oklch(56.7% 0.129 276.8);
Tailwind
colors: {
custom: {
50: '#9596d4',
500: '#646dc1',
950: '#000000',
},
}SCSS
$custom: #646dc1; $custom-light: #9596d4; $custom-dark: #000000;
JSON
{
"hex": "#646dc1",
"rgb": {
"r": 100,
"g": 109,
"b": 193
},
"hsl": {
"h": 234.194,
"s": 42.857,
"l": 57.451
},
"oklch": {
"l": 0.56668,
"c": 0.12906,
"h": 276.8
},
"luminance": 0.17497
}Semantic roles & 50–950 ramp
primary
#646DC1
secondary
#D3D0AE
accent
#C655D3
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0E0D14
muted
#7E7E83