#7562EB#7562EB
#7562EB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.8% C 0.198 H 284.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7562EB |
|---|---|
| RGB | rgb(117, 98, 235) |
| HSL | hsl(248, 77%, 65%) |
| HSV | hsv(248, 58%, 92%) |
| CMYK | cmyk(50.2%, 58.3%, 0%, 7.8%) |
| CIE-LAB | lab(50.11, 42.47, -67.04) |
| CIE-LCH | lch(50.11, 79.36, 302.35°) |
| OKLab | oklab(58.76% 0.0508 -0.1919) |
| OKLCH | oklch(58.76% 0.198 284.8) |
| XYZ | xyz(26.6947, 18.5141, 80.7481) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.08
Dark Periwinkle
#665FD1
ΔE00 4.64
Purpley
#8756E4
ΔE00 4.75
Light Indigo
#6D5ACF
ΔE00 4.96
Slate Blue
#6A5ACD
ΔE00 5.34
Iris
#6258C4
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7562EB #D8EB62
analogous
#6294EB #7562EB #B962EB
triadic
#7562EB #EB7562 #62EB75
tetradic
#7562EB #EB6294 #D8EB62 #62EBB9
square
#7562EB #EB6294 #D8EB62 #62EBB9
split-complementary
#7562EB #EBB962 #94EB62
monochromatic
#2E18BB #452CE4 #7562EB #A598F2 #D4CFF9
Accessibility & contrast
On white
4.47
#7562EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7562EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7562EB
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7562EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7562EB | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#48829D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7562eb; /* rgb */ color: rgb(117, 98, 235); /* oklch */ color: oklch(58.8% 0.198 284.8);
Tailwind
colors: {
custom: {
50: '#a58ff2',
500: '#7562eb',
950: '#000000',
},
}SCSS
$custom: #7562eb; $custom-light: #a58ff2; $custom-dark: #000000;
JSON
{
"hex": "#7562eb",
"rgb": {
"r": 117,
"g": 98,
"b": 235
},
"hsl": {
"h": 248.321,
"s": 77.401,
"l": 65.294
},
"oklch": {
"l": 0.58755,
"c": 0.19848,
"h": 284.8
},
"luminance": 0.18515
}Semantic roles & 50–950 ramp
primary
#7562EB
secondary
#E5EBBD
accent
#DA0CBD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85