#646BE0#646BE0
#646BE0 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.3% C 0.175 H 276.9°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #646BE0 |
|---|---|
| RGB | rgb(100, 107, 224) |
| HSL | hsl(237, 67%, 64%) |
| HSV | hsv(237, 55%, 88%) |
| CMYK | cmyk(55.4%, 52.2%, 0%, 12.2%) |
| CIE-LAB | lab(50.22, 30.43, -60.74) |
| CIE-LCH | lch(50.22, 67.93, 296.61°) |
| OKLab | oklab(58.28% 0.0211 -0.1737) |
| OKLCH | oklch(58.28% 0.175 276.9) |
| XYZ | xyz(23.9635, 18.6049, 72.8349) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 4.40
Dark Periwinkle
#665FD1
ΔE00 4.63
Mediumslateblue
#7B68EE
ΔE00 4.75
Royal Blue
#4169E1
ΔE00 5.02
Cornflower
#6A79F7
ΔE00 5.55
Slate Blue
#6A5ACD
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646BE0 #E0D964
analogous
#64A9E0 #646BE0 #9B64E0
triadic
#646BE0 #E0646B #6BE064
tetradic
#646BE0 #E064A9 #E0D964 #64E09B
square
#646BE0 #E064A9 #E0D964 #64E09B
split-complementary
#646BE0 #E09B64 #A9E064
monochromatic
#2229A8 #313AD6 #646BE0 #979CEA #CACCF4
Accessibility & contrast
On white
4.45
#646BE0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#646BE0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #646BE0
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646BE0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##646BE0 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#287DE4
Deuteranopia (green-blind)
#0B73DE
Tritanopia (blue-blind)
#21869B
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #646be0; /* rgb */ color: rgb(100, 107, 224); /* oklch */ color: oklch(58.3% 0.175 276.9);
Tailwind
colors: {
custom: {
50: '#9a95ea',
500: '#646be0',
950: '#000000',
},
}SCSS
$custom: #646be0; $custom-light: #9a95ea; $custom-dark: #000000;
JSON
{
"hex": "#646be0",
"rgb": {
"r": 100,
"g": 107,
"b": 224
},
"hsl": {
"h": 236.613,
"s": 66.667,
"l": 63.529
},
"oklch": {
"l": 0.58281,
"c": 0.17502,
"h": 276.9
},
"luminance": 0.18607
}Semantic roles & 50–950 ramp
primary
#646BE0
secondary
#E6E3BA
accent
#C417CF
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D16
muted
#7F7E84