#646CF0#646CF0
#646CF0 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.6% C 0.195 H 276.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #646CF0 |
|---|---|
| RGB | rgb(100, 108, 240) |
| HSL | hsl(237, 82%, 67%) |
| HSV | hsv(237, 58%, 94%) |
| CMYK | cmyk(58.3%, 55%, 0%, 5.9%) |
| CIE-LAB | lab(51.52, 34.94, -67.62) |
| CIE-LCH | lch(51.52, 76.11, 297.33°) |
| OKLab | oklab(59.59% 0.0208 -0.194) |
| OKLCH | oklch(59.59% 0.195 276.1) |
| XYZ | xyz(26.3412, 19.7238, 84.8402) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 4.20
Cornflower
#6A79F7
ΔE00 4.26
Cornflower Blue
#5170D7
ΔE00 5.30
Royal Blue
#4169E1
ΔE00 5.67
Dark Periwinkle
#665FD1
ΔE00 6.19
Bright Blue
#0165FC
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646CF0 #F0E864
analogous
#64B2F0 #646CF0 #A264F0
triadic
#646CF0 #F0646C #6CF064
tetradic
#646CF0 #F064B2 #F0E864 #64F0A2
square
#646CF0 #F064B2 #F0E864 #64F0A2
split-complementary
#646CF0 #F0A264 #B2F064
monochromatic
#131DC6 #2C37EB #646CF0 #9CA1F5 #D4D6FB
Accessibility & contrast
On white
4.25
#646CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#646CF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646CF0
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646CF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646CF0 | 1.00 | 4.25 | 4.95 | 4.95 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #646cf0; /* rgb */ color: rgb(100, 108, 240); /* oklch */ color: oklch(59.6% 0.195 276.1);
Tailwind
colors: {
custom: {
50: '#9c96f6',
500: '#646cf0',
950: '#000000',
},
}SCSS
$custom: #646cf0; $custom-light: #9c96f6; $custom-dark: #000000;
JSON
{
"hex": "#646cf0",
"rgb": {
"r": 100,
"g": 108,
"b": 240
},
"hsl": {
"h": 236.571,
"s": 82.353,
"l": 66.667
},
"oklch": {
"l": 0.59592,
"c": 0.19509,
"h": 276.1
},
"luminance": 0.19726
}Semantic roles & 50–950 ramp
primary
#646CF0
secondary
#EEECC1
accent
#D207DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85