#5D74E4#5D74E4

#5D74E4 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.171 H 271.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5D74E4
RGBrgb(93, 116, 228)
HSLhsl(230, 71%, 63%)
HSVhsv(230, 59%, 89%)
CMYKcmyk(59.2%, 49.1%, 0%, 10.6%)
CIE-LABlab(52.31, 24.90, -59.66)
CIE-LCHlch(52.31, 64.65, 292.66°)
OKLaboklab(59.82% 0.0048 -0.1706)
OKLCHoklch(59.82% 0.171 271.6)
XYZxyz(24.7585, 20.4174, 76.0200)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74E4 #E4CD5D
analogous
#5DB7E4 #5D74E4 #895DE4
triadic
#5D74E4 #E45D74 #74E45D
tetradic
#5D74E4 #E45DB7 #E4CD5D #5DE489
square
#5D74E4 #E45DB7 #E4CD5D #5DE489
split-complementary
#5D74E4 #E4895D #B7E45D
monochromatic
#1C35AA #2947DB #5D74E4 #91A1ED #C6CEF5

Accessibility & contrast

On white

4.13
#5D74E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5D74E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74E4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74E4#FFFFFF#000000##000000
##5D74E41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E8
Deuteranopia (green-blind)
#1F77E2
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d74e4;
/* rgb */ color: rgb(93, 116, 228);
/* oklch */ color: oklch(59.8% 0.171 271.6);
Tailwind
colors: {
  custom: {
    50: '#969bed',
    500: '#5d74e4',
    950: '#000000',
  },
}
SCSS
$custom: #5d74e4;
$custom-light: #969bed;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74e4",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 228
  },
  "hsl": {
    "h": 229.778,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59819,
    "c": 0.17071,
    "h": 271.6
  },
  "luminance": 0.20419
}

Semantic roles & 50–950 ramp

primary
#5D74E4
secondary
#E7DEB6
accent
#B312D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D74E4

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

Preview Lab → · Contrast checker → · Palette generator →

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