#5D62E7#5D62E7

#5D62E7 is a mid, vivid blue. Relative luminance 0.168; OKLCH L 56.7% C 0.197 H 276.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5D62E7
RGBrgb(93, 98, 231)
HSLhsl(238, 74%, 64%)
HSVhsv(238, 60%, 91%)
CMYKcmyk(59.7%, 57.6%, 0%, 9.4%)
CIE-LABlab(48.05, 36.87, -68.23)
CIE-LCHlch(48.05, 77.56, 298.39°)
OKLaboklab(56.69% 0.0222 -0.196)
OKLCHoklch(56.69% 0.197 276.5)
XYZxyz(23.3010, 16.8303, 77.6065)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D62E7 #E7E25D
analogous
#5DA7E7 #5D62E7 #9D5DE7
triadic
#5D62E7 #E75D62 #62E75D
tetradic
#5D62E7 #E75DA7 #E7E25D #5DE79D
square
#5D62E7 #E75DA7 #E7E25D #5DE79D
split-complementary
#5D62E7 #E79D5D #A7E75D
monochromatic
#1A1FB0 #282EDF #5D62E7 #9296EF #C8C9F7

Accessibility & contrast

On white

4.81
#5D62E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5D62E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D62E7
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D62E7#FFFFFF#000000##FFFFFF
##5D62E71.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006CE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d62e7;
/* rgb */ color: rgb(93, 98, 231);
/* oklch */ color: oklch(56.7% 0.197 276.5);
Tailwind
colors: {
  custom: {
    50: '#978eef',
    500: '#5d62e7',
    950: '#000000',
  },
}
SCSS
$custom: #5d62e7;
$custom-light: #978eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d62e7",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 237.826,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56688,
    "c": 0.19729,
    "h": 276.5
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#5D62E7
secondary
#E8E7B7
accent
#CF0FD6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D62E7

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

Preview Lab → · Contrast checker → · Palette generator →

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