#646CF8#646CF8
#646CF8 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.2% C 0.206 H 275.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #646CF8 |
|---|---|
| RGB | rgb(100, 108, 248) |
| HSL | hsl(237, 91%, 68%) |
| HSV | hsv(237, 60%, 97%) |
| CMYK | cmyk(59.7%, 56.5%, 0%, 2.7%) |
| CIE-LAB | lab(52.07, 37.50, -71.19) |
| CIE-LCH | lch(52.07, 80.46, 297.78°) |
| OKLab | oklab(60.18% 0.0209 -0.2045) |
| OKLCH | oklch(60.18% 0.206 275.8) |
| XYZ | xyz(27.5559, 20.2096, 91.2375) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.05
Mediumslateblue
#7B68EE
ΔE00 4.22
Cornflower Blue
#5170D7
ΔE00 6.02
Royal Blue
#4169E1
ΔE00 6.25
Dark Periwinkle
#665FD1
ΔE00 6.96
Bright Blue
#0165FC
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CF8 #F8F064
analogous
#64B6F8 #646CF8 #A664F8
triadic
#646CF8 #F8646C #6CF864
tetradic
#646CF8 #F864B6 #F8F064 #64F8A6
square
#646CF8 #F864B6 #F8F064 #64F8A6
split-complementary
#646CF8 #F8A664 #B6F864
monochromatic
#0A15D8 #2934F5 #646CF8 #9FA4FB #D9DBFD
Accessibility & contrast
On white
4.16
#646CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#646CF8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CF8
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CF8 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0083FD
Deuteranopia (green-blind)
#0076F5
Tritanopia (blue-blind)
#008DA8
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #646cf8; /* rgb */ color: rgb(100, 108, 248); /* oklch */ color: oklch(60.2% 0.206 275.8);
Tailwind
colors: {
custom: {
50: '#9d96fb',
500: '#646cf8',
950: '#000000',
},
}SCSS
$custom: #646cf8; $custom-light: #9d96fb; $custom-dark: #000000;
JSON
{
"hex": "#646cf8",
"rgb": {
"r": 100,
"g": 108,
"b": 248
},
"hsl": {
"h": 236.757,
"s": 91.358,
"l": 68.235
},
"oklch": {
"l": 0.60175,
"c": 0.20554,
"h": 275.8
},
"luminance": 0.20212
}Semantic roles & 50–950 ramp
primary
#646CF8
secondary
#F2F0C5
accent
#D900E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D18
muted
#7F7E86