#5D74EC#5D74EC

#5D74EC is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.182 H 271.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5D74EC
RGBrgb(93, 116, 236)
HSLhsl(230, 79%, 65%)
HSVhsv(230, 61%, 93%)
CMYKcmyk(60.6%, 50.8%, 0%, 7.5%)
CIE-LABlab(52.81, 27.55, -63.33)
CIE-LCHlch(52.81, 69.06, 293.51°)
OKLaboklab(60.36% 0.0055 -0.1814)
OKLCHoklch(60.36% 0.182 271.7)
XYZxyz(25.8949, 20.8719, 82.0047)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74EC #ECD55D
analogous
#5DBBEC #5D74EC #8E5DEC
triadic
#5D74EC #EC5D74 #74EC5D
tetradic
#5D74EC #EC5DBB #ECD55D #5DEC8E
square
#5D74EC #EC5DBB #ECD55D #5DEC8E
split-complementary
#5D74EC #EC8E5D #BBEC5D
monochromatic
#1630B9 #2645E6 #5D74EC #94A3F2 #CBD2F9

Accessibility & contrast

On white

4.06
#5D74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5D74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74EC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74EC#FFFFFF#000000##000000
##5D74EC1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F85F0
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d74ec;
/* rgb */ color: rgb(93, 116, 236);
/* oklch */ color: oklch(60.4% 0.182 271.7);
Tailwind
colors: {
  custom: {
    50: '#979bf3',
    500: '#5d74ec',
    950: '#000000',
  },
}
SCSS
$custom: #5d74ec;
$custom-light: #979bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74ec",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 230.35,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60361,
    "c": 0.18152,
    "h": 271.7
  },
  "luminance": 0.20874
}

Semantic roles & 50–950 ramp

primary
#5D74EC
secondary
#EBE3BA
accent
#BA0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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