#5D74EB#5D74EB

#5D74EB is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.180 H 271.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5D74EB
RGBrgb(93, 116, 235)
HSLhsl(230, 78%, 64%)
HSVhsv(230, 60%, 92%)
CMYKcmyk(60.4%, 50.6%, 0%, 7.8%)
CIE-LABlab(52.75, 27.22, -62.87)
CIE-LCHlch(52.75, 68.51, 293.41°)
OKLaboklab(60.29% 0.0055 -0.1801)
OKLCHoklch(60.29% 0.18 271.7)
XYZxyz(25.7500, 20.8140, 81.2417)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74EB #EBD45D
analogous
#5DBBEB #5D74EB #8D5DEB
triadic
#5D74EB #EB5D74 #74EB5D
tetradic
#5D74EB #EB5DBB #EBD45D #5DEB8D
square
#5D74EB #EB5DBB #EBD45D #5DEB8D
split-complementary
#5D74EB #EB8D5D #BBEB5D
monochromatic
#1731B7 #2745E4 #5D74EB #93A3F2 #CAD1F8

Accessibility & contrast

On white

4.07
#5D74EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5D74EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74EB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74EB#FFFFFF#000000##000000
##5D74EB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EF
Deuteranopia (green-blind)
#0478E9
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d74eb;
/* rgb */ color: rgb(93, 116, 235);
/* oklch */ color: oklch(60.3% 0.180 271.7);
Tailwind
colors: {
  custom: {
    50: '#979bf2',
    500: '#5d74eb',
    950: '#000000',
  },
}
SCSS
$custom: #5d74eb;
$custom-light: #979bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74eb",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 230.282,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60292,
    "c": 0.18018,
    "h": 271.7
  },
  "luminance": 0.20816
}

Semantic roles & 50–950 ramp

primary
#5D74EB
secondary
#EBE3B9
accent
#B90BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D74EB

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

Preview Lab → · Contrast checker → · Palette generator →

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