#5D62E4#5D62E4

#5D62E4 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.5% C 0.193 H 276.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5D62E4
RGBrgb(93, 98, 228)
HSLhsl(238, 71%, 63%)
HSVhsv(238, 59%, 89%)
CMYKcmyk(59.2%, 57%, 0%, 10.6%)
CIE-LABlab(47.83, 35.90, -66.88)
CIE-LCHlch(47.83, 75.91, 298.23°)
OKLaboklab(56.46% 0.0222 -0.1921)
OKLCHoklch(56.46% 0.193 276.6)
XYZxyz(22.8810, 16.6622, 75.3941)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D62E4 #E4DF5D
analogous
#5DA5E4 #5D62E4 #9B5DE4
triadic
#5D62E4 #E45D62 #62E45D
tetradic
#5D62E4 #E45DA5 #E4DF5D #5DE49B
square
#5D62E4 #E45DA5 #E4DF5D #5DE49B
split-complementary
#5D62E4 #E49B5D #A5E45D
monochromatic
#1C22AA #292FDB #5D62E4 #9195ED #C6C8F5

Accessibility & contrast

On white

4.85
#5D62E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#5D62E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D62E4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D62E4#FFFFFF#000000##FFFFFF
##5D62E41.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#006CE1
Tritanopia (blue-blind)
#008199
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d62e4;
/* rgb */ color: rgb(93, 98, 228);
/* oklch */ color: oklch(56.5% 0.193 276.6);
Tailwind
colors: {
  custom: {
    50: '#978eed',
    500: '#5d62e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d62e4;
$custom-light: #978eed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d62e4",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 228
  },
  "hsl": {
    "h": 237.778,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56462,
    "c": 0.19336,
    "h": 276.6
  },
  "luminance": 0.16664
}

Semantic roles & 50–950 ramp

primary
#5D62E4
secondary
#E7E5B6
accent
#CC12D3
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D62E4

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

Preview Lab → · Contrast checker → · Palette generator →

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