#5D74EA#5D74EA

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

Color values

HEX#5D74EA
RGBrgb(93, 116, 234)
HSLhsl(230, 77%, 64%)
HSVhsv(230, 60%, 92%)
CMYKcmyk(60.3%, 50.4%, 0%, 8.2%)
CIE-LABlab(52.68, 26.88, -62.42)
CIE-LCHlch(52.68, 67.96, 293.30°)
OKLaboklab(60.22% 0.0054 -0.1787)
OKLCHoklch(60.22% 0.179 271.7)
XYZxyz(25.6059, 20.7564, 80.4830)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74EA #EAD35D
analogous
#5DBBEA #5D74EA #8D5DEA
triadic
#5D74EA #EA5D74 #74EA5D
tetradic
#5D74EA #EA5DBB #EAD35D #5DEA8D
square
#5D74EA #EA5DBB #EAD35D #5DEA8D
split-complementary
#5D74EA #EA8D5D #BBEA5D
monochromatic
#1731B5 #2746E3 #5D74EA #93A2F1 #C9D1F8

Accessibility & contrast

On white

4.08
#5D74EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#5D74EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74EA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74EA#FFFFFF#000000##000000
##5D74EA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284EE
Deuteranopia (green-blind)
#0A78E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d74ea;
/* rgb */ color: rgb(93, 116, 234);
/* oklch */ color: oklch(60.2% 0.179 271.7);
Tailwind
colors: {
  custom: {
    50: '#979bf1',
    500: '#5d74ea',
    950: '#000000',
  },
}
SCSS
$custom: #5d74ea;
$custom-light: #979bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74ea",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 230.213,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.17883,
    "h": 271.7
  },
  "luminance": 0.20758
}

Semantic roles & 50–950 ramp

primary
#5D74EA
secondary
#EAE2B9
accent
#B80CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5D74EA

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

Preview Lab → · Contrast checker → · Palette generator →

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