#646CF5#646CF5
#646CF5 is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 60.0% C 0.202 H 276.0°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #646CF5 |
|---|---|
| RGB | rgb(100, 108, 245) |
| HSL | hsl(237, 88%, 68%) |
| HSV | hsv(237, 59%, 96%) |
| CMYK | cmyk(59.2%, 55.9%, 0%, 3.9%) |
| CIE-LAB | lab(51.87, 36.54, -69.85) |
| CIE-LCH | lch(51.87, 78.83, 297.62°) |
| OKLab | oklab(59.96% 0.0209 -0.2005) |
| OKLCH | oklch(59.96% 0.202 276) |
| XYZ | xyz(27.0942, 20.0250, 88.8059) |
| Luminance | 0.2003 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.10
Mediumslateblue
#7B68EE
ΔE00 4.18
Cornflower Blue
#5170D7
ΔE00 5.75
Royal Blue
#4169E1
ΔE00 6.02
Dark Periwinkle
#665FD1
ΔE00 6.67
Bright Blue
#0165FC
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CF5 #F5ED64
analogous
#64B4F5 #646CF5 #A564F5
triadic
#646CF5 #F5646C #6CF564
tetradic
#646CF5 #F564B4 #F5ED64 #64F5A5
square
#646CF5 #F564B4 #F5ED64 #64F5A5
split-complementary
#646CF5 #F5A564 #B4F564
monochromatic
#0D18D1 #2B35F1 #646CF5 #9DA3F9 #D7D9FC
Accessibility & contrast
On white
4.20
#646CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#646CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CF5
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CF5 | 1.00 | 4.20 | 5.01 | 5.01 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#008DA6
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #646cf5; /* rgb */ color: rgb(100, 108, 245); /* oklch */ color: oklch(60.0% 0.202 276.0);
Tailwind
colors: {
custom: {
50: '#9d96f9',
500: '#646cf5',
950: '#000000',
},
}SCSS
$custom: #646cf5; $custom-light: #9d96f9; $custom-dark: #000000;
JSON
{
"hex": "#646cf5",
"rgb": {
"r": 100,
"g": 108,
"b": 245
},
"hsl": {
"h": 236.69,
"s": 87.879,
"l": 67.647
},
"oklch": {
"l": 0.59955,
"c": 0.20164,
"h": 276
},
"luminance": 0.20027
}Semantic roles & 50–950 ramp
primary
#646CF5
secondary
#F1EEC4
accent
#D801E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85