#5D62EA#5D62EA

#5D62EA is a mid, highly saturated blue. Relative luminance 0.170; OKLCH L 56.9% C 0.201 H 276.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#5D62EA
RGBrgb(93, 98, 234)
HSLhsl(238, 77%, 64%)
HSVhsv(238, 60%, 92%)
CMYKcmyk(60.3%, 58.1%, 0%, 8.2%)
CIE-LABlab(48.26, 37.84, -69.57)
CIE-LCHlch(48.26, 79.19, 298.55°)
OKLaboklab(56.92% 0.0222 -0.2)
OKLCHoklch(56.92% 0.201 276.3)
XYZxyz(23.7283, 17.0012, 79.8571)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D62EA #EAE55D
analogous
#5DA9EA #5D62EA #9F5DEA
triadic
#5D62EA #EA5D62 #62EA5D
tetradic
#5D62EA #EA5DA9 #EAE55D #5DEA9F
square
#5D62EA #EA5DA9 #EAE55D #5DEA9F
split-complementary
#5D62EA #EA9F5D #A9EA5D
monochromatic
#171DB5 #272DE3 #5D62EA #9397F1 #C9CBF8

Accessibility & contrast

On white

4.77
#5D62EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#5D62EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D62EA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D62EA#FFFFFF#000000##FFFFFF
##5D62EA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#006DE7
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d62ea;
/* rgb */ color: rgb(93, 98, 234);
/* oklch */ color: oklch(56.9% 0.201 276.3);
Tailwind
colors: {
  custom: {
    50: '#988ef2',
    500: '#5d62ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d62ea;
$custom-light: #988ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d62ea",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 237.872,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.2012,
    "h": 276.3
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#5D62EA
secondary
#EAE8B9
accent
#D20CD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D62EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5D62EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva