#646DF5#646DF5
#646DF5 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.1% C 0.200 H 275.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #646DF5 |
|---|---|
| RGB | rgb(100, 109, 245) |
| HSL | hsl(236, 88%, 68%) |
| HSV | hsv(236, 59%, 96%) |
| CMYK | cmyk(59.2%, 55.5%, 0%, 3.9%) |
| CIE-LAB | lab(52.10, 35.94, -69.47) |
| CIE-LCH | lch(52.10, 78.21, 297.36°) |
| OKLab | oklab(60.13% 0.02 -0.1994) |
| OKLCH | oklch(60.13% 0.2 275.7) |
| XYZ | xyz(27.2002, 20.2371, 88.8413) |
| Luminance | 0.2024 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.79
Mediumslateblue
#7B68EE
ΔE00 4.34
Cornflower Blue
#5170D7
ΔE00 5.64
Royal Blue
#4169E1
ΔE00 6.03
Dark Periwinkle
#665FD1
ΔE00 6.90
Lightish Blue
#3D7AFD
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646DF5 #F5EC64
analogous
#64B5F5 #646DF5 #A464F5
triadic
#646DF5 #F5646D #6DF564
tetradic
#646DF5 #F564B5 #F5EC64 #64F5A4
square
#646DF5 #F564B5 #F5EC64 #64F5A4
split-complementary
#646DF5 #F5A464 #B5F564
monochromatic
#0D1AD1 #2B37F1 #646DF5 #9DA3F9 #D7D9FC
Accessibility & contrast
On white
4.16
#646DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#646DF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646DF5
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646DF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646DF5 | 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)
#0083FA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#008DA6
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #646df5; /* rgb */ color: rgb(100, 109, 245); /* oklch */ color: oklch(60.1% 0.200 275.7);
Tailwind
colors: {
custom: {
50: '#9d96f9',
500: '#646df5',
950: '#000000',
},
}SCSS
$custom: #646df5; $custom-light: #9d96f9; $custom-dark: #000000;
JSON
{
"hex": "#646df5",
"rgb": {
"r": 100,
"g": 109,
"b": 245
},
"hsl": {
"h": 236.276,
"s": 87.879,
"l": 67.647
},
"oklch": {
"l": 0.60133,
"c": 0.2004,
"h": 275.7
},
"luminance": 0.20239
}Semantic roles & 50–950 ramp
primary
#646DF5
secondary
#F1EEC4
accent
#D601E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85