#646FE5#646FE5
#646FE5 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.4% C 0.177 H 275.6°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #646FE5 |
|---|---|
| RGB | rgb(100, 111, 229) |
| HSL | hsl(235, 71%, 65%) |
| HSV | hsv(235, 56%, 90%) |
| CMYK | cmyk(56.3%, 51.5%, 0%, 10.2%) |
| CIE-LAB | lab(51.53, 29.60, -61.44) |
| CIE-LCH | lch(51.53, 68.20, 295.72°) |
| OKLab | oklab(59.37% 0.0173 -0.1758) |
| OKLCH | oklch(59.37% 0.177 275.6) |
| XYZ | xyz(25.0783, 19.7336, 76.6010) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.07
Cornflower Blue
#5170D7
ΔE00 4.07
Mediumslateblue
#7B68EE
ΔE00 5.07
Royal Blue
#4169E1
ΔE00 5.18
Dark Periwinkle
#665FD1
ΔE00 6.17
Lightish Blue
#3D7AFD
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FE5 #E5DA64
analogous
#64AFE5 #646FE5 #9A64E5
triadic
#646FE5 #E5646F #6FE564
tetradic
#646FE5 #E564AF #E5DA64 #64E59A
square
#646FE5 #E564AF #E5DA64 #64E59A
split-complementary
#646FE5 #E59A64 #AFE564
monochromatic
#1E2AB1 #303EDC #646FE5 #98A0EE #CDD0F7
Accessibility & contrast
On white
4.24
#646FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#646FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FE5
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FE5 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D80E9
Deuteranopia (green-blind)
#1076E3
Tritanopia (blue-blind)
#158A9F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #646fe5; /* rgb */ color: rgb(100, 111, 229); /* oklch */ color: oklch(59.4% 0.177 275.6);
Tailwind
colors: {
custom: {
50: '#9a98ee',
500: '#646fe5',
950: '#000000',
},
}SCSS
$custom: #646fe5; $custom-light: #9a98ee; $custom-dark: #000000;
JSON
{
"hex": "#646fe5",
"rgb": {
"r": 100,
"g": 111,
"b": 229
},
"hsl": {
"h": 234.884,
"s": 71.271,
"l": 64.51
},
"oklch": {
"l": 0.5937,
"c": 0.17661,
"h": 275.6
},
"luminance": 0.19735
}Semantic roles & 50–950 ramp
primary
#646FE5
secondary
#E9E5BC
accent
#C312D3
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84