#646EF0#646EF0
#646EF0 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.0% C 0.193 H 275.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #646EF0 |
|---|---|
| RGB | rgb(100, 110, 240) |
| HSL | hsl(236, 82%, 67%) |
| HSV | hsv(236, 58%, 94%) |
| CMYK | cmyk(58.3%, 54.2%, 0%, 5.9%) |
| CIE-LAB | lab(52.01, 33.73, -66.84) |
| CIE-LCH | lch(52.01, 74.87, 296.78°) |
| OKLab | oklab(59.95% 0.0189 -0.1917) |
| OKLCH | oklch(59.95% 0.193 275.6) |
| XYZ | xyz(26.5545, 20.1505, 84.9113) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 3.65
Mediumslateblue
#7B68EE
ΔE00 4.53
Cornflower Blue
#5170D7
ΔE00 5.08
Royal Blue
#4169E1
ΔE00 5.70
Dark Periwinkle
#665FD1
ΔE00 6.69
Lightish Blue
#3D7AFD
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646EF0 #F0E664
analogous
#64B4F0 #646EF0 #A064F0
triadic
#646EF0 #F0646E #6EF064
tetradic
#646EF0 #F064B4 #F0E664 #64F0A0
square
#646EF0 #F064B4 #F0E664 #64F0A0
split-complementary
#646EF0 #F0A064 #B4F064
monochromatic
#1320C6 #2C3AEB #646EF0 #9CA2F5 #D4D6FB
Accessibility & contrast
On white
4.17
#646EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#646EF0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646EF0
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646EF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646EF0 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1082F4
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#008CA4
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #646ef0; /* rgb */ color: rgb(100, 110, 240); /* oklch */ color: oklch(60.0% 0.193 275.6);
Tailwind
colors: {
custom: {
50: '#9c97f6',
500: '#646ef0',
950: '#000000',
},
}SCSS
$custom: #646ef0; $custom-light: #9c97f6; $custom-dark: #000000;
JSON
{
"hex": "#646ef0",
"rgb": {
"r": 100,
"g": 110,
"b": 240
},
"hsl": {
"h": 235.714,
"s": 82.353,
"l": 66.667
},
"oklch": {
"l": 0.59953,
"c": 0.19259,
"h": 275.6
},
"luminance": 0.20152
}Semantic roles & 50–950 ramp
primary
#646EF0
secondary
#EEEBC1
accent
#CF07DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85