#646CDC#646CDC
#646CDC is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.2% C 0.168 H 276.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #646CDC |
|---|---|
| RGB | rgb(100, 108, 220) |
| HSL | hsl(236, 63%, 63%) |
| HSV | hsv(236, 55%, 86%) |
| CMYK | cmyk(54.5%, 50.9%, 0%, 13.7%) |
| CIE-LAB | lab(50.22, 28.55, -58.49) |
| CIE-LCH | lch(50.22, 65.08, 296.02°) |
| OKLab | oklab(58.2% 0.0198 -0.1671) |
| OKLCH | oklch(58.2% 0.168 276.7) |
| XYZ | xyz(23.5322, 18.6002, 70.0464) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.06
Dark Periwinkle
#665FD1
ΔE00 4.73
Royal Blue
#4169E1
ΔE00 4.97
Mediumslateblue
#7B68EE
ΔE00 5.16
Cornflower
#6A79F7
ΔE00 5.63
Slate Blue
#6A5ACD
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CDC #DCD464
analogous
#64A8DC #646CDC #9864DC
triadic
#646CDC #DC646C #6CDC64
tetradic
#646CDC #DC64A8 #DCD464 #64DC98
square
#646CDC #DC64A8 #DCD464 #64DC98
split-complementary
#646CDC #DC9864 #A8DC64
monochromatic
#242DA1 #323DD1 #646CDC #969BE7 #C8CBF3
Accessibility & contrast
On white
4.45
#646CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#646CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CDC
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CDC | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#317DE0
Deuteranopia (green-blind)
#1E73DA
Tritanopia (blue-blind)
#27859A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #646cdc; /* rgb */ color: rgb(100, 108, 220); /* oklch */ color: oklch(58.2% 0.168 276.7);
Tailwind
colors: {
custom: {
50: '#9996e7',
500: '#646cdc',
950: '#000000',
},
}SCSS
$custom: #646cdc; $custom-light: #9996e7; $custom-dark: #000000;
JSON
{
"hex": "#646cdc",
"rgb": {
"r": 100,
"g": 108,
"b": 220
},
"hsl": {
"h": 236,
"s": 63.158,
"l": 62.745
},
"oklch": {
"l": 0.58196,
"c": 0.16827,
"h": 276.7
},
"luminance": 0.18602
}Semantic roles & 50–950 ramp
primary
#646CDC
secondary
#E4E1B8
accent
#BF1BCB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84