#5D74E5#5D74E5

#5D74E5 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.9% C 0.172 H 271.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D74E5
RGBrgb(93, 116, 229)
HSLhsl(230, 72%, 63%)
HSVhsv(230, 59%, 90%)
CMYKcmyk(59.4%, 49.3%, 0%, 10.2%)
CIE-LABlab(52.37, 25.23, -60.12)
CIE-LCHlch(52.37, 65.20, 292.77°)
OKLaboklab(59.89% 0.0049 -0.172)
OKLCHoklch(59.89% 0.172 271.6)
XYZxyz(24.8978, 20.4731, 76.7532)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74E5 #E5CE5D
analogous
#5DB8E5 #5D74E5 #8A5DE5
triadic
#5D74E5 #E55D74 #74E55D
tetradic
#5D74E5 #E55DB8 #E5CE5D #5DE58A
square
#5D74E5 #E55DB8 #E5CE5D #5DE58A
split-complementary
#5D74E5 #E58A5D #B8E55D
monochromatic
#1C34AC #2847DD #5D74E5 #92A1ED #C6CEF6

Accessibility & contrast

On white

4.12
#5D74E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5D74E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74E5
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74E5#FFFFFF#000000##000000
##5D74E51.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E9
Deuteranopia (green-blind)
#1C77E3
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d74e5;
/* rgb */ color: rgb(93, 116, 229);
/* oklch */ color: oklch(59.9% 0.172 271.6);
Tailwind
colors: {
  custom: {
    50: '#969bee',
    500: '#5d74e5',
    950: '#000000',
  },
}
SCSS
$custom: #5d74e5;
$custom-light: #969bee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74e5",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 229
  },
  "hsl": {
    "h": 229.853,
    "s": 72.34,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59886,
    "c": 0.17207,
    "h": 271.6
  },
  "luminance": 0.20475
}

Semantic roles & 50–950 ramp

primary
#5D74E5
secondary
#E7DFB7
accent
#B311D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D74E5

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

Preview Lab → · Contrast checker → · Palette generator →

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