#646FE3#646FE3
#646FE3 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.174 H 275.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #646FE3 |
|---|---|
| RGB | rgb(100, 111, 227) |
| HSL | hsl(235, 69%, 64%) |
| HSV | hsv(235, 56%, 89%) |
| CMYK | cmyk(55.9%, 51.1%, 0%, 11%) |
| CIE-LAB | lab(51.41, 28.95, -60.52) |
| CIE-LCH | lch(51.41, 67.09, 295.57°) |
| OKLab | oklab(59.23% 0.0172 -0.1731) |
| OKLCH | oklch(59.23% 0.174 275.7) |
| XYZ | xyz(24.8006, 19.6225, 75.1388) |
| Luminance | 0.1962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 3.94
Cornflower
#6A79F7
ΔE00 4.24
Royal Blue
#4169E1
ΔE00 5.12
Mediumslateblue
#7B68EE
ΔE00 5.17
Dark Periwinkle
#665FD1
ΔE00 6.05
Lightish Blue
#3D7AFD
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FE3 #E3D864
analogous
#64AFE3 #646FE3 #9964E3
triadic
#646FE3 #E3646F #6FE364
tetradic
#646FE3 #E364AF #E3D864 #64E399
square
#646FE3 #E364AF #E3D864 #64E399
split-complementary
#646FE3 #E39964 #AFE364
monochromatic
#1F2CAD #303FDA #646FE3 #989FEC #CCCFF6
Accessibility & contrast
On white
4.26
#646FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#646FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FE3
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FE3 | 1.00 | 4.26 | 4.92 | 4.92 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3080E7
Deuteranopia (green-blind)
#1775E1
Tritanopia (blue-blind)
#1A899E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #646fe3; /* rgb */ color: rgb(100, 111, 227); /* oklch */ color: oklch(59.2% 0.174 275.7);
Tailwind
colors: {
custom: {
50: '#9a98ec',
500: '#646fe3',
950: '#000000',
},
}SCSS
$custom: #646fe3; $custom-light: #9a98ec; $custom-dark: #000000;
JSON
{
"hex": "#646fe3",
"rgb": {
"r": 100,
"g": 111,
"b": 227
},
"hsl": {
"h": 234.803,
"s": 69.399,
"l": 64.118
},
"oklch": {
"l": 0.59234,
"c": 0.17391,
"h": 275.7
},
"luminance": 0.19624
}Semantic roles & 50–950 ramp
primary
#646FE3
secondary
#E8E4BB
accent
#C114D1
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D16
muted
#7F7E84