#5D62E1#5D62E1

#5D62E1 is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.189 H 276.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#5D62E1
RGBrgb(93, 98, 225)
HSLhsl(238, 69%, 62%)
HSVhsv(238, 59%, 88%)
CMYKcmyk(58.7%, 56.4%, 0%, 11.8%)
CIE-LABlab(47.62, 34.93, -65.53)
CIE-LCHlch(47.62, 74.26, 298.06°)
OKLaboklab(56.24% 0.0222 -0.1881)
OKLCHoklch(56.24% 0.189 276.7)
XYZxyz(22.4681, 16.4971, 73.2198)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D62E1 #E1DC5D
analogous
#5DA4E1 #5D62E1 #9A5DE1
triadic
#5D62E1 #E15D62 #62E15D
tetradic
#5D62E1 #E15DA4 #E1DC5D #5DE19A
square
#5D62E1 #E15DA4 #E1DC5D #5DE19A
split-complementary
#5D62E1 #E19A5D #A4E15D
monochromatic
#1F24A5 #2930D7 #5D62E1 #9194EB #C4C6F4

Accessibility & contrast

On white

4.88
#5D62E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#5D62E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D62E1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D62E1#FFFFFF#000000##FFFFFF
##5D62E11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#008098
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5d62e1;
/* rgb */ color: rgb(93, 98, 225);
/* oklch */ color: oklch(56.2% 0.189 276.7);
Tailwind
colors: {
  custom: {
    50: '#968eeb',
    500: '#5d62e1',
    950: '#000000',
  },
}
SCSS
$custom: #5d62e1;
$custom-light: #968eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d62e1",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 237.727,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56238,
    "c": 0.1894,
    "h": 276.7
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#5D62E1
secondary
#E5E3B5
accent
#CA15D1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5D62E1

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

Preview Lab → · Contrast checker → · Palette generator →

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