#646FCC#646FCC
#646FCC is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.7% C 0.142 H 275.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #646FCC |
|---|---|
| RGB | rgb(100, 111, 204) |
| HSL | hsl(234, 50%, 60%) |
| HSV | hsv(234, 51%, 80%) |
| CMYK | cmyk(51%, 45.6%, 0%, 20%) |
| CIE-LAB | lab(50.02, 21.65, -49.70) |
| CIE-LCH | lch(50.02, 54.22, 293.54°) |
| OKLab | oklab(57.74% 0.0147 -0.1413) |
| OKLCH | oklch(57.74% 0.142 275.9) |
| XYZ | xyz(21.8356, 18.4365, 59.5230) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.74
Royal Blue
#4169E1
ΔE00 5.57
Dark Periwinkle
#665FD1
ΔE00 5.66
Cornflower
#6A79F7
ΔE00 6.74
Mediumslateblue
#7B68EE
ΔE00 7.10
Slate Blue
#6A5ACD
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FCC #CCC164
analogous
#64A3CC #646FCC #8D64CC
triadic
#646FCC #CC646F #6FCC64
tetradic
#646FCC #CC64A3 #CCC164 #64CC8D
square
#646FCC #CC64A3 #CCC164 #64CC8D
split-complementary
#646FCC #CC8D64 #A3CC64
monochromatic
#2D3789 #3C49B7 #646FCC #929ADB #C0C5EA
Accessibility & contrast
On white
4.48
#646FCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#646FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FCC
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FCC | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#477BCF
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#388394
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #646fcc; /* rgb */ color: rgb(100, 111, 204); /* oklch */ color: oklch(57.7% 0.142 275.9);
Tailwind
colors: {
custom: {
50: '#9798dc',
500: '#646fcc',
950: '#000000',
},
}SCSS
$custom: #646fcc; $custom-light: #9798dc; $custom-dark: #000000;
JSON
{
"hex": "#646fcc",
"rgb": {
"r": 100,
"g": 111,
"b": 204
},
"hsl": {
"h": 233.654,
"s": 50.485,
"l": 59.608
},
"oklch": {
"l": 0.57739,
"c": 0.14204,
"h": 275.9
},
"luminance": 0.18438
}Semantic roles & 50–950 ramp
primary
#646FCC
secondary
#DAD6B2
accent
#CB4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83