#5D62EB#5D62EB

#5D62EB is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.0% C 0.203 H 276.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5D62EB
RGBrgb(93, 98, 235)
HSLhsl(238, 78%, 64%)
HSVhsv(238, 60%, 92%)
CMYKcmyk(60.4%, 58.3%, 0%, 7.8%)
CIE-LABlab(48.33, 38.17, -70.01)
CIE-LCHlch(48.33, 79.74, 298.60°)
OKLaboklab(56.99% 0.0222 -0.2013)
OKLCHoklch(56.99% 0.203 276.3)
XYZxyz(23.8724, 17.0588, 80.6158)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D62EB #EBE65D
analogous
#5DA9EB #5D62EB #9F5DEB
triadic
#5D62EB #EB5D62 #62EB5D
tetradic
#5D62EB #EB5DA9 #EBE65D #5DEB9F
square
#5D62EB #EB5DA9 #EBE65D #5DEB9F
split-complementary
#5D62EB #EB9F5D #A9EB5D
monochromatic
#171CB7 #272DE4 #5D62EB #9397F2 #CACCF8

Accessibility & contrast

On white

4.76
#5D62EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5D62EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D62EB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D62EB#FFFFFF#000000##FFFFFF
##5D62EB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d62eb;
/* rgb */ color: rgb(93, 98, 235);
/* oklch */ color: oklch(57.0% 0.203 276.3);
Tailwind
colors: {
  custom: {
    50: '#988ef2',
    500: '#5d62eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d62eb;
$custom-light: #988ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d62eb",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 237.887,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56993,
    "c": 0.2025,
    "h": 276.3
  },
  "luminance": 0.17061
}

Semantic roles & 50–950 ramp

primary
#5D62EB
secondary
#EBE9B9
accent
#D30BDA
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D62EB

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

Preview Lab → · Contrast checker → · Palette generator →

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