#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
RGBrgb(117, 98, 235)
HSLhsl(248, 77%, 65%)
HSVhsv(248, 58%, 92%)
CMYKcmyk(50.2%, 58.3%, 0%, 7.8%)
CIE-LABlab(50.11, 42.47, -67.04)
CIE-LCHlch(50.11, 79.36, 302.35°)
OKLaboklab(58.76% 0.0508 -0.1919)
OKLCHoklch(58.76% 0.198 284.8)
XYZxyz(26.6947, 18.5141, 80.7481)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##7562EB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.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

Preview Lab

Preview with #7562EB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7562EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva