#5A74CA#5A74CA

#5A74CA is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.0% C 0.136 H 269.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5A74CA
RGBrgb(90, 116, 202)
HSLhsl(226, 51%, 57%)
HSVhsv(226, 55%, 79%)
CMYKcmyk(55.4%, 42.6%, 0%, 20.8%)
CIE-LABlab(50.60, 15.76, -47.67)
CIE-LCHlch(50.60, 50.21, 288.30°)
OKLaboklab(57.98% -0.0019 -0.1355)
OKLCHoklch(57.98% 0.136 269.2)
XYZxyz(21.1190, 18.9271, 58.4061)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74CA #CAB05A
analogous
#5AACCA #5A74CA #785ACA
triadic
#5A74CA #CA5A74 #74CA5A
tetradic
#5A74CA #CA5AAC #CAB05A #5ACA78
square
#5A74CA #CA5AAC #CAB05A #5ACA78
split-complementary
#5A74CA #CA785A #ACCA5A
monochromatic
#293D80 #3854AF #5A74CA #889BD9 #B7C2E8

Accessibility & contrast

On white

4.39
#5A74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5A74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74CA#FFFFFF#000000##000000
##5A74CA1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#188795
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5a74ca;
/* rgb */ color: rgb(90, 116, 202);
/* oklch */ color: oklch(58.0% 0.136 269.2);
Tailwind
colors: {
  custom: {
    50: '#919bda',
    500: '#5a74ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a74ca;
$custom-light: #919bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74ca",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 226.071,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.13551,
    "h": 269.2
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#5A74CA
secondary
#D7CCA9
accent
#BA4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5A74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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