#6464E2#6464E2
#6464E2 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.187 H 278.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6464E2 |
|---|---|
| RGB | rgb(100, 100, 226) |
| HSL | hsl(240, 68%, 64%) |
| HSV | hsv(240, 56%, 89%) |
| CMYK | cmyk(55.8%, 55.8%, 0%, 11.4%) |
| CIE-LAB | lab(48.65, 35.31, -64.40) |
| CIE-LCH | lch(48.65, 73.44, 298.73°) |
| OKLab | oklab(57.15% 0.0283 -0.1846) |
| OKLCH | oklch(57.15% 0.187 278.7) |
| XYZ | xyz(23.5358, 17.3131, 74.0383) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.98
Mediumslateblue
#7B68EE
ΔE00 4.45
Slate Blue
#6A5ACD
ΔE00 4.67
Light Indigo
#6D5ACF
ΔE00 4.68
Warm Blue
#4B57DB
ΔE00 5.26
Royal Blue
#4169E1
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6464E2 #E2E264
analogous
#64A3E2 #6464E2 #A364E2
triadic
#6464E2 #E26464 #64E264
tetradic
#6464E2 #E264A3 #E2E264 #64E2A3
square
#6464E2 #E264A3 #E2E264 #64E2A3
split-complementary
#6464E2 #E2A364 #A3E264
monochromatic
#2020AC #3030D8 #6464E2 #9898EC #CBCBF5
Accessibility & contrast
On white
4.71
#6464E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#6464E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6464E2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6464E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6464E2 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#006FDF
Tritanopia (blue-blind)
#208199
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #6464e2; /* rgb */ color: rgb(100, 100, 226); /* oklch */ color: oklch(57.2% 0.187 278.7);
Tailwind
colors: {
custom: {
50: '#9a90ec',
500: '#6464e2',
950: '#000000',
},
}SCSS
$custom: #6464e2; $custom-light: #9a90ec; $custom-dark: #000000;
JSON
{
"hex": "#6464e2",
"rgb": {
"r": 100,
"g": 100,
"b": 226
},
"hsl": {
"h": 240,
"s": 68.478,
"l": 63.922
},
"oklch": {
"l": 0.57151,
"c": 0.18674,
"h": 278.7
},
"luminance": 0.17315
}Semantic roles & 50–950 ramp
primary
#6464E2
secondary
#E7E7BB
accent
#D015D0
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84