#646EF3#646EF3
#646EF3 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.2% C 0.197 H 275.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #646EF3 |
|---|---|
| RGB | rgb(100, 110, 243) |
| HSL | hsl(236, 86%, 67%) |
| HSV | hsv(236, 59%, 95%) |
| CMYK | cmyk(58.8%, 54.7%, 0%, 4.7%) |
| CIE-LAB | lab(52.21, 34.70, -68.18) |
| CIE-LCH | lch(52.21, 76.50, 296.97°) |
| OKLab | oklab(60.17% 0.019 -0.1956) |
| OKLCH | oklch(60.17% 0.197 275.5) |
| XYZ | xyz(27.0039, 20.3302, 87.2777) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.54
Mediumslateblue
#7B68EE
ΔE00 4.51
Cornflower Blue
#5170D7
ΔE00 5.36
Royal Blue
#4169E1
ΔE00 5.91
Lightish Blue
#3D7AFD
ΔE00 6.92
Dark Periwinkle
#665FD1
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EF3 #F3E964
analogous
#64B6F3 #646EF3 #A164F3
triadic
#646EF3 #F3646E #6EF364
tetradic
#646EF3 #F364B6 #F3E964 #64F3A1
square
#646EF3 #F364B6 #F3E964 #64F3A1
split-complementary
#646EF3 #F3A164 #B6F364
monochromatic
#101DCD #2B39EF #646EF3 #9DA3F7 #D6D8FC
Accessibility & contrast
On white
4.14
#646EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#646EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646EF3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646EF3 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083F8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#008DA6
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #646ef3; /* rgb */ color: rgb(100, 110, 243); /* oklch */ color: oklch(60.2% 0.197 275.5);
Tailwind
colors: {
custom: {
50: '#9c97f8',
500: '#646ef3',
950: '#000000',
},
}SCSS
$custom: #646ef3; $custom-light: #9c97f8; $custom-dark: #000000;
JSON
{
"hex": "#646ef3",
"rgb": {
"r": 100,
"g": 110,
"b": 243
},
"hsl": {
"h": 235.804,
"s": 85.629,
"l": 67.255
},
"oklch": {
"l": 0.60167,
"c": 0.19654,
"h": 275.5
},
"luminance": 0.20332
}Semantic roles & 50–950 ramp
primary
#646EF3
secondary
#F0EDC3
accent
#D303E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85