#5A74CC#5A74CC

#5A74CC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.138 H 269.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5A74CC
RGBrgb(90, 116, 204)
HSLhsl(226, 53%, 58%)
HSVhsv(226, 56%, 80%)
CMYKcmyk(55.9%, 43.1%, 0%, 20%)
CIE-LABlab(50.71, 16.42, -48.64)
CIE-LCHlch(50.71, 51.33, 288.65°)
OKLaboklab(58.1% -0.0015 -0.1383)
OKLCHoklch(58.1% 0.138 269.4)
XYZxyz(21.3573, 19.0225, 59.6613)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74CC #CCB25A
analogous
#5AADCC #5A74CC #795ACC
triadic
#5A74CC #CC5A74 #74CC5A
tetradic
#5A74CC #CC5AAD #CCB25A #5ACC79
square
#5A74CC #CC5AAD #CCB25A #5ACC79
split-complementary
#5A74CC #CC795A #ADCC5A
monochromatic
#293D83 #3753B2 #5A74CC #899BDA #B7C3E9

Accessibility & contrast

On white

4.37
#5A74CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5A74CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74CC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74CC#FFFFFF#000000##000000
##5A74CC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7ECF
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#148796
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a74cc;
/* rgb */ color: rgb(90, 116, 204);
/* oklch */ color: oklch(58.1% 0.138 269.4);
Tailwind
colors: {
  custom: {
    50: '#919bdc',
    500: '#5a74cc',
    950: '#000000',
  },
}
SCSS
$custom: #5a74cc;
$custom-light: #919bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74cc",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 226.316,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.13833,
    "h": 269.4
  },
  "luminance": 0.19024
}

Semantic roles & 50–950 ramp

primary
#5A74CC
secondary
#D8CDAA
accent
#BB4CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A74CC

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

Preview Lab → · Contrast checker → · Palette generator →

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