#5A74CE#5A74CE

#5A74CE is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.141 H 269.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5A74CE
RGBrgb(90, 116, 206)
HSLhsl(227, 54%, 58%)
HSVhsv(227, 56%, 81%)
CMYKcmyk(56.3%, 43.7%, 0%, 19.2%)
CIE-LABlab(50.83, 17.07, -49.60)
CIE-LCHlch(50.83, 52.45, 289.00°)
OKLaboklab(58.23% -0.0012 -0.1411)
OKLCHoklch(58.23% 0.141 269.5)
XYZxyz(21.5987, 19.1190, 60.9327)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74CE #CEB45A
analogous
#5AAECE #5A74CE #7A5ACE
triadic
#5A74CE #CE5A74 #74CE5A
tetradic
#5A74CE #CE5AAE #CEB45A #5ACE7A
square
#5A74CE #CE5AAE #CEB45A #5ACE7A
split-complementary
#5A74CE #CE7A5A #AECE5A
monochromatic
#283D86 #3652B5 #5A74CE #899CDC #B8C4EA

Accessibility & contrast

On white

4.35
#5A74CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5A74CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74CE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74CE#FFFFFF#000000##000000
##5A74CE1.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7ED1
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#0F8897
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a74ce;
/* rgb */ color: rgb(90, 116, 206);
/* oklch */ color: oklch(58.2% 0.141 269.5);
Tailwind
colors: {
  custom: {
    50: '#919bdd',
    500: '#5a74ce',
    950: '#000000',
  },
}
SCSS
$custom: #5a74ce;
$custom-light: #919bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74ce",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 206
  },
  "hsl": {
    "h": 226.552,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58225,
    "c": 0.14115,
    "h": 269.5
  },
  "luminance": 0.19121
}

Semantic roles & 50–950 ramp

primary
#5A74CE
secondary
#D9CFAB
accent
#BD4ADE
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A74CE

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

Preview Lab → · Contrast checker → · Palette generator →

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