#646AF1#646AF1
#646AF1 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.3% C 0.199 H 276.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #646AF1 |
|---|---|
| RGB | rgb(100, 106, 241) |
| HSL | hsl(237, 83%, 67%) |
| HSV | hsv(237, 59%, 95%) |
| CMYK | cmyk(58.5%, 56%, 0%, 5.5%) |
| CIE-LAB | lab(51.11, 36.46, -68.84) |
| CIE-LCH | lch(51.11, 77.90, 297.91°) |
| OKLab | oklab(59.31% 0.0227 -0.1976) |
| OKLCH | oklch(59.31% 0.199 276.6) |
| XYZ | xyz(26.2816, 19.3663, 85.5552) |
| Luminance | 0.1937 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.94
Cornflower
#6A79F7
ΔE00 4.84
Cornflower Blue
#5170D7
ΔE00 5.67
Royal Blue
#4169E1
ΔE00 5.76
Dark Periwinkle
#665FD1
ΔE00 5.82
Bright Blue
#0165FC
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646AF1 #F1EB64
analogous
#64B1F1 #646AF1 #A564F1
triadic
#646AF1 #F1646A #6AF164
tetradic
#646AF1 #F164B1 #F1EB64 #64F1A5
square
#646AF1 #F164B1 #F1EB64 #64F1A5
split-complementary
#646AF1 #F1A564 #B1F164
monochromatic
#121AC8 #2C34EC #646AF1 #9CA0F6 #D4D6FB
Accessibility & contrast
On white
4.31
#646AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#646AF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646AF1
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646AF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646AF1 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#0074EE
Tritanopia (blue-blind)
#008AA3
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #646af1; /* rgb */ color: rgb(100, 106, 241); /* oklch */ color: oklch(59.3% 0.199 276.6);
Tailwind
colors: {
custom: {
50: '#9c94f6',
500: '#646af1',
950: '#000000',
},
}SCSS
$custom: #646af1; $custom-light: #9c94f6; $custom-dark: #000000;
JSON
{
"hex": "#646af1",
"rgb": {
"r": 100,
"g": 106,
"b": 241
},
"hsl": {
"h": 237.447,
"s": 83.432,
"l": 66.863
},
"oklch": {
"l": 0.59308,
"c": 0.19889,
"h": 276.6
},
"luminance": 0.19368
}Semantic roles & 50–950 ramp
primary
#646AF1
secondary
#EFEDC2
accent
#D706E0
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85