#5D62EC#5D62EC

#5D62EC is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.1% C 0.204 H 276.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5D62EC
RGBrgb(93, 98, 236)
HSLhsl(238, 79%, 65%)
HSVhsv(238, 61%, 93%)
CMYKcmyk(60.6%, 58.5%, 0%, 7.5%)
CIE-LABlab(48.41, 38.49, -70.46)
CIE-LCHlch(48.41, 80.28, 298.65°)
OKLaboklab(57.07% 0.0222 -0.2026)
OKLCHoklch(57.07% 0.204 276.2)
XYZxyz(24.0173, 17.1168, 81.3788)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D62EC #ECE75D
analogous
#5DAAEC #5D62EC #A05DEC
triadic
#5D62EC #EC5D62 #62EC5D
tetradic
#5D62EC #EC5DAA #ECE75D #5DECA0
square
#5D62EC #EC5DAA #ECE75D #5DECA0
split-complementary
#5D62EC #ECA05D #AAEC5D
monochromatic
#161BB9 #262DE6 #5D62EC #9497F2 #CBCCF9

Accessibility & contrast

On white

4.75
#5D62EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5D62EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D62EC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D62EC#FFFFFF#000000##FFFFFF
##5D62EC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d62ec;
/* rgb */ color: rgb(93, 98, 236);
/* oklch */ color: oklch(57.1% 0.204 276.2);
Tailwind
colors: {
  custom: {
    50: '#988ef3',
    500: '#5d62ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d62ec;
$custom-light: #988ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d62ec",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 237.902,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.5707,
    "c": 0.20379,
    "h": 276.2
  },
  "luminance": 0.17119
}

Semantic roles & 50–950 ramp

primary
#5D62EC
secondary
#EBE9BA
accent
#D40ADB
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D62EC

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

Preview Lab → · Contrast checker → · Palette generator →

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