#5A74DD#5A74DD

#5A74DD is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.162 H 270.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5A74DD
RGBrgb(90, 116, 221)
HSLhsl(228, 66%, 61%)
HSVhsv(228, 59%, 87%)
CMYKcmyk(59.3%, 47.5%, 0%, 13.3%)
CIE-LABlab(51.70, 22.03, -56.69)
CIE-LCHlch(51.70, 60.82, 291.23°)
OKLaboklab(59.18% 0.001 -0.162)
OKLCHoklch(59.18% 0.162 270.3)
XYZxyz(23.5086, 19.8830, 70.9916)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74DD #DDC35A
analogous
#5AB5DD #5A74DD #815ADD
triadic
#5A74DD #DD5A74 #74DD5A
tetradic
#5A74DD #DD5AB5 #DDC35A #5ADD81
square
#5A74DD #DD5AB5 #DDC35A #5ADD81
split-complementary
#5A74DD #DD815A #B5DD5A
monochromatic
#20399C #2B4BCF #5A74DD #8D9FE7 #BFC9F2

Accessibility & contrast

On white

4.22
#5A74DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5A74DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74DD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74DD#FFFFFF#000000##000000
##5A74DD1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4081E1
Deuteranopia (green-blind)
#2A76DB
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5a74dd;
/* rgb */ color: rgb(90, 116, 221);
/* oklch */ color: oklch(59.2% 0.162 270.3);
Tailwind
colors: {
  custom: {
    50: '#939be8',
    500: '#5a74dd',
    950: '#000000',
  },
}
SCSS
$custom: #5a74dd;
$custom-light: #939be8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74dd",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 228.092,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59179,
    "c": 0.16198,
    "h": 270.3
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#5A74DD
secondary
#E2D8B1
accent
#AA18CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5A74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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