#646FEE#646FEE
#646FEE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.0% C 0.189 H 275.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #646FEE |
|---|---|
| RGB | rgb(100, 111, 238) |
| HSL | hsl(235, 80%, 66%) |
| HSV | hsv(235, 58%, 93%) |
| CMYK | cmyk(58%, 53.4%, 0%, 6.7%) |
| CIE-LAB | lab(52.12, 32.49, -65.54) |
| CIE-LCH | lch(52.12, 73.15, 296.37°) |
| OKLab | oklab(59.99% 0.0178 -0.1878) |
| OKLCH | oklch(59.99% 0.189 275.4) |
| XYZ | xyz(26.3676, 20.2493, 83.3914) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.45
Mediumslateblue
#7B68EE
ΔE00 4.76
Cornflower Blue
#5170D7
ΔE00 4.81
Royal Blue
#4169E1
ΔE00 5.62
Lightish Blue
#3D7AFD
ΔE00 6.75
Dark Periwinkle
#665FD1
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646FEE #EEE364
analogous
#64B4EE #646FEE #9E64EE
triadic
#646FEE #EE646F #6FEE64
tetradic
#646FEE #EE64B4 #EEE364 #64EE9E
square
#646FEE #EE64B4 #EEE364 #64EE9E
split-complementary
#646FEE #EE9E64 #B4EE64
monochromatic
#1523C2 #2D3CE8 #646FEE #9BA2F4 #D2D5FA
Accessibility & contrast
On white
4.16
#646FEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#646FEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646FEE
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646FEE | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C82F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#008CA4
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #646fee; /* rgb */ color: rgb(100, 111, 238); /* oklch */ color: oklch(60.0% 0.189 275.4);
Tailwind
colors: {
custom: {
50: '#9b98f4',
500: '#646fee',
950: '#000000',
},
}SCSS
$custom: #646fee; $custom-light: #9b98f4; $custom-dark: #000000;
JSON
{
"hex": "#646fee",
"rgb": {
"r": 100,
"g": 111,
"b": 238
},
"hsl": {
"h": 235.217,
"s": 80.233,
"l": 66.275
},
"oklch": {
"l": 0.59994,
"c": 0.18868,
"h": 275.4
},
"luminance": 0.20251
}Semantic roles & 50–950 ramp
primary
#646FEE
secondary
#EDEAC0
accent
#CC09DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85