#646CCF#646CCF
#646CCF is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.3% C 0.150 H 277.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #646CCF |
|---|---|
| RGB | rgb(100, 108, 207) |
| HSL | hsl(236, 53%, 60%) |
| HSV | hsv(236, 52%, 81%) |
| CMYK | cmyk(51.7%, 47.8%, 0%, 18.8%) |
| CIE-LAB | lab(49.42, 24.44, -52.38) |
| CIE-LCH | lch(49.42, 57.80, 295.01°) |
| OKLab | oklab(57.34% 0.0185 -0.1491) |
| OKLCH | oklch(57.34% 0.15 277.1) |
| XYZ | xyz(21.8770, 17.9381, 61.3290) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.10
Dark Periwinkle
#665FD1
ΔE00 4.53
Royal Blue
#4169E1
ΔE00 5.36
Slate Blue
#6A5ACD
ΔE00 6.35
Mediumslateblue
#7B68EE
ΔE00 6.39
Light Indigo
#6D5ACF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CCF #CFC764
analogous
#64A1CF #646CCF #9164CF
triadic
#646CCF #CF646C #6CCF64
tetradic
#646CCF #CF64A1 #CFC764 #64CF91
square
#646CCF #CF64A1 #CFC764 #64CF91
split-complementary
#646CCF #CF9164 #A1CF64
monochromatic
#2C338D #3A44BC #646CCF #9398DD #C1C5EC
Accessibility & contrast
On white
4.58
#646CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#646CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CCF
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CCF | 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)
#3F7AD3
Deuteranopia (green-blind)
#3371CD
Tritanopia (blue-blind)
#368293
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #646ccf; /* rgb */ color: rgb(100, 108, 207); /* oklch */ color: oklch(57.3% 0.150 277.1);
Tailwind
colors: {
custom: {
50: '#9796de',
500: '#646ccf',
950: '#000000',
},
}SCSS
$custom: #646ccf; $custom-light: #9796de; $custom-dark: #000000;
JSON
{
"hex": "#646ccf",
"rgb": {
"r": 100,
"g": 108,
"b": 207
},
"hsl": {
"h": 235.514,
"s": 52.709,
"l": 60.196
},
"oklch": {
"l": 0.5734,
"c": 0.15029,
"h": 277.1
},
"luminance": 0.17939
}Semantic roles & 50–950 ramp
primary
#646CCF
secondary
#DCD9B3
accent
#B525C0
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83