#5D62E5#5D62E5

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

Color values

HEX#5D62E5
RGBrgb(93, 98, 229)
HSLhsl(238, 72%, 63%)
HSVhsv(238, 59%, 90%)
CMYKcmyk(59.4%, 57.2%, 0%, 10.2%)
CIE-LABlab(47.90, 36.23, -67.33)
CIE-LCHlch(47.90, 76.46, 298.28°)
OKLaboklab(56.54% 0.0222 -0.1934)
OKLCHoklch(56.54% 0.195 276.5)
XYZxyz(23.0202, 16.7179, 76.1273)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D62E5 #E5E05D
analogous
#5DA6E5 #5D62E5 #9C5DE5
triadic
#5D62E5 #E55D62 #62E55D
tetradic
#5D62E5 #E55DA6 #E5E05D #5DE59C
square
#5D62E5 #E55DA6 #E5E05D #5DE59C
split-complementary
#5D62E5 #E59C5D #A6E55D
monochromatic
#1C21AC #282FDD #5D62E5 #9295ED #C6C8F6

Accessibility & contrast

On white

4.83
#5D62E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5D62E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D62E5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D62E5#FFFFFF#000000##FFFFFF
##5D62E51.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#006CE2
Tritanopia (blue-blind)
#00819A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5d62e5;
/* rgb */ color: rgb(93, 98, 229);
/* oklch */ color: oklch(56.5% 0.195 276.5);
Tailwind
colors: {
  custom: {
    50: '#978eee',
    500: '#5d62e5',
    950: '#000000',
  },
}
SCSS
$custom: #5d62e5;
$custom-light: #978eee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d62e5",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 237.794,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56537,
    "c": 0.19467,
    "h": 276.5
  },
  "luminance": 0.1672
}

Semantic roles & 50–950 ramp

primary
#5D62E5
secondary
#E7E5B7
accent
#CD11D4
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D62E5

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

Preview Lab → · Contrast checker → · Palette generator →

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