#646CDF#646CDF
#646CDF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.4% C 0.172 H 276.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #646CDF |
|---|---|
| RGB | rgb(100, 108, 223) |
| HSL | hsl(236, 66%, 63%) |
| HSV | hsv(236, 55%, 87%) |
| CMYK | cmyk(55.2%, 51.6%, 0%, 12.5%) |
| CIE-LAB | lab(50.41, 29.50, -59.88) |
| CIE-LCH | lch(50.41, 66.75, 296.23°) |
| OKLab | oklab(58.4% 0.02 -0.1712) |
| OKLCH | oklch(58.4% 0.172 276.7) |
| XYZ | xyz(23.9331, 18.7605, 72.1577) |
| Luminance | 0.1876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.17
Dark Periwinkle
#665FD1
ΔE00 4.88
Mediumslateblue
#7B68EE
ΔE00 4.94
Royal Blue
#4169E1
ΔE00 4.98
Cornflower
#6A79F7
ΔE00 5.36
Slate Blue
#6A5ACD
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CDF #DFD764
analogous
#64A9DF #646CDF #9A64DF
triadic
#646CDF #DF646C #6CDF64
tetradic
#646CDF #DF64A9 #DFD764 #64DF9A
square
#646CDF #DF64A9 #DFD764 #64DF9A
split-complementary
#646CDF #DF9A64 #A9DF64
monochromatic
#222BA6 #313CD5 #646CDF #979CE9 #C9CCF4
Accessibility & contrast
On white
4.42
#646CDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#646CDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CDF
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CDF | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D7DE3
Deuteranopia (green-blind)
#1573DD
Tritanopia (blue-blind)
#23869B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #646cdf; /* rgb */ color: rgb(100, 108, 223); /* oklch */ color: oklch(58.4% 0.172 276.7);
Tailwind
colors: {
custom: {
50: '#9996ea',
500: '#646cdf',
950: '#000000',
},
}SCSS
$custom: #646cdf; $custom-light: #9996ea; $custom-dark: #000000;
JSON
{
"hex": "#646cdf",
"rgb": {
"r": 100,
"g": 108,
"b": 223
},
"hsl": {
"h": 236.098,
"s": 65.775,
"l": 63.333
},
"oklch": {
"l": 0.58399,
"c": 0.17236,
"h": 276.7
},
"luminance": 0.18762
}Semantic roles & 50–950 ramp
primary
#646CDF
secondary
#E5E2B9
accent
#C218CE
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84