#646FCF#646FCF
#646FCF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.9% C 0.146 H 275.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #646FCF |
|---|---|
| RGB | rgb(100, 111, 207) |
| HSL | hsl(234, 53%, 60%) |
| HSV | hsv(234, 52%, 81%) |
| CMYK | cmyk(51.7%, 46.4%, 0%, 18.8%) |
| CIE-LAB | lab(50.19, 22.60, -51.14) |
| CIE-LCH | lch(50.19, 55.91, 293.84°) |
| OKLab | oklab(57.93% 0.0151 -0.1455) |
| OKLCH | oklch(57.93% 0.146 275.9) |
| XYZ | xyz(22.1989, 18.5818, 61.4363) |
| Luminance | 0.1858 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.59
Royal Blue
#4169E1
ΔE00 5.38
Dark Periwinkle
#665FD1
ΔE00 5.60
Cornflower
#6A79F7
ΔE00 6.37
Mediumslateblue
#7B68EE
ΔE00 6.79
Slate Blue
#6A5ACD
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FCF #CFC464
analogous
#64A4CF #646FCF #8F64CF
triadic
#646FCF #CF646F #6FCF64
tetradic
#646FCF #CF64A4 #CFC464 #64CF8F
square
#646FCF #CF64A4 #CFC464 #64CF8F
split-complementary
#646FCF #CF8F64 #A4CF64
monochromatic
#2C368D #3A47BC #646FCF #939ADD #C1C6EC
Accessibility & contrast
On white
4.45
#646FCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#646FCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FCF
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FCF | 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)
#457CD3
Deuteranopia (green-blind)
#3973CD
Tritanopia (blue-blind)
#368495
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #646fcf; /* rgb */ color: rgb(100, 111, 207); /* oklch */ color: oklch(57.9% 0.146 275.9);
Tailwind
colors: {
custom: {
50: '#9798de',
500: '#646fcf',
950: '#000000',
},
}SCSS
$custom: #646fcf; $custom-light: #9798de; $custom-dark: #000000;
JSON
{
"hex": "#646fcf",
"rgb": {
"r": 100,
"g": 111,
"b": 207
},
"hsl": {
"h": 233.832,
"s": 52.709,
"l": 60.196
},
"oklch": {
"l": 0.57926,
"c": 0.14627,
"h": 275.9
},
"luminance": 0.18583
}Semantic roles & 50–950 ramp
primary
#646FCF
secondary
#DCD8B3
accent
#B025C0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83