#5A74CD#5A74CD

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

Color values

HEX#5A74CD
RGBrgb(90, 116, 205)
HSLhsl(226, 53%, 58%)
HSVhsv(226, 56%, 80%)
CMYKcmyk(56.1%, 43.4%, 0%, 19.6%)
CIE-LABlab(50.77, 16.75, -49.12)
CIE-LCHlch(50.77, 51.89, 288.83°)
OKLaboklab(58.16% -0.0014 -0.1397)
OKLCHoklch(58.16% 0.14 269.4)
XYZxyz(21.4776, 19.0706, 60.2950)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74CD #CDB35A
analogous
#5AADCD #5A74CD #7A5ACD
triadic
#5A74CD #CD5A74 #74CD5A
tetradic
#5A74CD #CD5AAD #CDB35A #5ACD7A
square
#5A74CD #CD5AAD #CDB35A #5ACD7A
split-complementary
#5A74CD #CD7A5A #ADCD5A
monochromatic
#283D84 #3653B3 #5A74CD #899CDB #B8C3E9

Accessibility & contrast

On white

4.36
#5A74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5A74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74CD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74CD#FFFFFF#000000##000000
##5A74CD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#118896
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a74cd;
/* rgb */ color: rgb(90, 116, 205);
/* oklch */ color: oklch(58.2% 0.140 269.4);
Tailwind
colors: {
  custom: {
    50: '#919bdd',
    500: '#5a74cd',
    950: '#000000',
  },
}
SCSS
$custom: #5a74cd;
$custom-light: #919bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74cd",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 226.435,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58163,
    "c": 0.13974,
    "h": 269.4
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#5A74CD
secondary
#D8CEAA
accent
#BC4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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