#646AF2#646AF2
#646AF2 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.4% C 0.200 H 276.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #646AF2 |
|---|---|
| RGB | rgb(100, 106, 242) |
| HSL | hsl(237, 85%, 67%) |
| HSV | hsv(237, 59%, 95%) |
| CMYK | cmyk(58.7%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(51.18, 36.78, -69.29) |
| CIE-LCH | lch(51.18, 78.45, 297.96°) |
| OKLab | oklab(59.38% 0.0227 -0.1989) |
| OKLCH | oklch(59.38% 0.2 276.5) |
| XYZ | xyz(26.4314, 19.4262, 86.3440) |
| Luminance | 0.1943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.93
Cornflower
#6A79F7
ΔE00 4.81
Cornflower Blue
#5170D7
ΔE00 5.75
Royal Blue
#4169E1
ΔE00 5.83
Dark Periwinkle
#665FD1
ΔE00 5.92
Bright Blue
#0165FC
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646AF2 #F2EC64
analogous
#64B1F2 #646AF2 #A564F2
triadic
#646AF2 #F2646A #6AF264
tetradic
#646AF2 #F264B1 #F2EC64 #64F2A5
square
#646AF2 #F264B1 #F2EC64 #64F2A5
split-complementary
#646AF2 #F2A564 #B1F264
monochromatic
#1119CB #2C34ED #646AF2 #9CA0F7 #D5D7FB
Accessibility & contrast
On white
4.30
#646AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#646AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646AF2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646AF2 | 1.00 | 4.30 | 4.89 | 4.89 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008AA4
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #646af2; /* rgb */ color: rgb(100, 106, 242); /* oklch */ color: oklch(59.4% 0.200 276.5);
Tailwind
colors: {
custom: {
50: '#9c94f7',
500: '#646af2',
950: '#000000',
},
}SCSS
$custom: #646af2; $custom-light: #9c94f7; $custom-dark: #000000;
JSON
{
"hex": "#646af2",
"rgb": {
"r": 100,
"g": 106,
"b": 242
},
"hsl": {
"h": 237.465,
"s": 84.524,
"l": 67.059
},
"oklch": {
"l": 0.59381,
"c": 0.2002,
"h": 276.5
},
"luminance": 0.19428
}Semantic roles & 50–950 ramp
primary
#646AF2
secondary
#EFEEC2
accent
#D805E1
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85