#6562E4#6562E4
#6562E4 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 57.0% C 0.192 H 279.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #6562E4 |
|---|---|
| RGB | rgb(101, 98, 228) |
| HSL | hsl(241, 71%, 64%) |
| HSV | hsv(241, 57%, 89%) |
| CMYK | cmyk(55.7%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(48.39, 37.32, -65.96) |
| CIE-LCH | lch(48.39, 75.78, 299.50°) |
| OKLab | oklab(57.02% 0.0315 -0.1891) |
| OKLCH | oklch(57.02% 0.192 279.4) |
| XYZ | xyz(23.7337, 17.1019, 75.4341) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.35
Mediumslateblue
#7B68EE
ΔE00 4.36
Warm Blue
#4B57DB
ΔE00 5.05
Iris
#6258C4
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6562E4 #E1E462
analogous
#62A0E4 #6562E4 #A662E4
triadic
#6562E4 #E46562 #62E465
tetradic
#6562E4 #E462A0 #E1E462 #62E4A6
square
#6562E4 #E462A0 #E1E462 #62E4A6
split-complementary
#6562E4 #E4A662 #A0E462
monochromatic
#211EAE #322EDB #6562E4 #9896ED #CBCAF6
Accessibility & contrast
On white
4.75
#6562E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#6562E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6562E4
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6562E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6562E4 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#218199
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6562e4; /* rgb */ color: rgb(101, 98, 228); /* oklch */ color: oklch(57.0% 0.192 279.4);
Tailwind
colors: {
custom: {
50: '#9b8fed',
500: '#6562e4',
950: '#000000',
},
}SCSS
$custom: #6562e4; $custom-light: #9b8fed; $custom-dark: #000000;
JSON
{
"hex": "#6562e4",
"rgb": {
"r": 101,
"g": 98,
"b": 228
},
"hsl": {
"h": 241.385,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.57018,
"c": 0.19174,
"h": 279.4
},
"luminance": 0.17104
}Semantic roles & 50–950 ramp
primary
#6562E4
secondary
#E7E8BA
accent
#D313CE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C16
muted
#7F7D84