#646EF2#646EF2
#646EF2 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.1% C 0.195 H 275.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #646EF2 |
|---|---|
| RGB | rgb(100, 110, 242) |
| HSL | hsl(236, 85%, 67%) |
| HSV | hsv(236, 59%, 95%) |
| CMYK | cmyk(58.7%, 54.5%, 0%, 5.1%) |
| CIE-LAB | lab(52.14, 34.38, -67.74) |
| CIE-LCH | lch(52.14, 75.96, 296.91°) |
| OKLab | oklab(60.1% 0.019 -0.1943) |
| OKLCH | oklch(60.1% 0.195 275.6) |
| XYZ | xyz(26.8533, 20.2700, 86.4846) |
| Luminance | 0.2027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.57
Mediumslateblue
#7B68EE
ΔE00 4.52
Cornflower Blue
#5170D7
ΔE00 5.27
Royal Blue
#4169E1
ΔE00 5.84
Dark Periwinkle
#665FD1
ΔE00 6.87
Lightish Blue
#3D7AFD
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EF2 #F2E864
analogous
#64B5F2 #646EF2 #A164F2
triadic
#646EF2 #F2646E #6EF264
tetradic
#646EF2 #F264B5 #F2E864 #64F2A1
square
#646EF2 #F264B5 #F2E864 #64F2A1
split-complementary
#646EF2 #F2A164 #B5F264
monochromatic
#111ECB #2C39ED #646EF2 #9CA3F7 #D5D8FB
Accessibility & contrast
On white
4.15
#646EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#646EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646EF2
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646EF2 | 1.00 | 4.15 | 5.05 | 5.05 |
| #FFFFFF | 4.15 | 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)
#0583F7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #646ef2; /* rgb */ color: rgb(100, 110, 242); /* oklch */ color: oklch(60.1% 0.195 275.6);
Tailwind
colors: {
custom: {
50: '#9c97f7',
500: '#646ef2',
950: '#000000',
},
}SCSS
$custom: #646ef2; $custom-light: #9c97f7; $custom-dark: #000000;
JSON
{
"hex": "#646ef2",
"rgb": {
"r": 100,
"g": 110,
"b": 242
},
"hsl": {
"h": 235.775,
"s": 84.524,
"l": 67.059
},
"oklch": {
"l": 0.60096,
"c": 0.19522,
"h": 275.6
},
"luminance": 0.20272
}Semantic roles & 50–950 ramp
primary
#646EF2
secondary
#EFECC2
accent
#D105E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85