#6562E7#6562E7
#6562E7 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.2% C 0.196 H 279.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6562E7 |
|---|---|
| RGB | rgb(101, 98, 231) |
| HSL | hsl(241, 73%, 65%) |
| HSV | hsv(241, 58%, 91%) |
| CMYK | cmyk(56.3%, 57.6%, 0%, 9.4%) |
| CIE-LAB | lab(48.60, 38.26, -67.31) |
| CIE-LCH | lch(48.60, 77.42, 299.62°) |
| OKLab | oklab(57.24% 0.0314 -0.1931) |
| OKLCH | oklch(57.24% 0.196 279.2) |
| XYZ | xyz(24.1538, 17.2700, 77.6465) |
| Luminance | 0.1727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.25
Mediumslateblue
#7B68EE
ΔE00 4.19
Light Indigo
#6D5ACF
ΔE00 4.60
Slate Blue
#6A5ACD
ΔE00 4.67
Warm Blue
#4B57DB
ΔE00 5.22
Iris
#6258C4
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6562E7 #E4E762
analogous
#62A2E7 #6562E7 #A762E7
triadic
#6562E7 #E76562 #62E765
tetradic
#6562E7 #E762A2 #E4E762 #62E7A7
square
#6562E7 #E762A2 #E4E762 #62E7A7
split-complementary
#6562E7 #E7A762 #A2E762
monochromatic
#1F1BB3 #312DDF #6562E7 #9997EF #CDCCF7
Accessibility & contrast
On white
4.71
#6562E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#6562E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6562E7
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6562E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6562E7 | 1.00 | 4.71 | 4.45 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#006EE4
Tritanopia (blue-blind)
#1B829B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #6562e7; /* rgb */ color: rgb(101, 98, 231); /* oklch */ color: oklch(57.2% 0.196 279.2);
Tailwind
colors: {
custom: {
50: '#9c8fef',
500: '#6562e7',
950: '#000000',
},
}SCSS
$custom: #6562e7; $custom-light: #9c8fef; $custom-dark: #000000;
JSON
{
"hex": "#6562e7",
"rgb": {
"r": 101,
"g": 98,
"b": 231
},
"hsl": {
"h": 241.353,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.5724,
"c": 0.19565,
"h": 279.2
},
"luminance": 0.17272
}Semantic roles & 50–950 ramp
primary
#6562E7
secondary
#E8E9BB
accent
#D610D1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85