#646BF2#646BF2
#646BF2 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.6% C 0.199 H 276.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #646BF2 |
|---|---|
| RGB | rgb(100, 107, 242) |
| HSL | hsl(237, 85%, 67%) |
| HSV | hsv(237, 59%, 95%) |
| CMYK | cmyk(58.7%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(51.42, 36.18, -68.90) |
| CIE-LCH | lch(51.42, 77.83, 297.70°) |
| OKLab | oklab(59.56% 0.0218 -0.1978) |
| OKLCH | oklch(59.56% 0.199 276.3) |
| XYZ | xyz(26.5351, 19.6335, 86.3785) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.04
Cornflower
#6A79F7
ΔE00 4.50
Cornflower Blue
#5170D7
ΔE00 5.61
Royal Blue
#4169E1
ΔE00 5.81
Dark Periwinkle
#665FD1
ΔE00 6.14
Bright Blue
#0165FC
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646BF2 #F2EB64
analogous
#64B2F2 #646BF2 #A464F2
triadic
#646BF2 #F2646B #6BF264
tetradic
#646BF2 #F264B2 #F2EB64 #64F2A4
square
#646BF2 #F264B2 #F2EB64 #64F2A4
split-complementary
#646BF2 #F2A464 #B2F264
monochromatic
#111ACB #2C35ED #646BF2 #9CA1F7 #D5D7FB
Accessibility & contrast
On white
4.26
#646BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#646BF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646BF2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646BF2 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #646bf2; /* rgb */ color: rgb(100, 107, 242); /* oklch */ color: oklch(59.6% 0.199 276.3);
Tailwind
colors: {
custom: {
50: '#9c95f7',
500: '#646bf2',
950: '#000000',
},
}SCSS
$custom: #646bf2; $custom-light: #9c95f7; $custom-dark: #000000;
JSON
{
"hex": "#646bf2",
"rgb": {
"r": 100,
"g": 107,
"b": 242
},
"hsl": {
"h": 237.042,
"s": 84.524,
"l": 67.059
},
"oklch": {
"l": 0.59558,
"c": 0.19896,
"h": 276.3
},
"luminance": 0.19636
}Semantic roles & 50–950 ramp
primary
#646BF2
secondary
#EFEDC2
accent
#D605E1
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85