#5A74C0#5A74C0

#5A74C0 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.4% C 0.121 H 268.2°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5A74C0
RGBrgb(90, 116, 192)
HSLhsl(225, 45%, 55%)
HSVhsv(225, 53%, 75%)
CMYKcmyk(53.1%, 39.6%, 0%, 24.7%)
CIE-LABlab(50.06, 12.52, -42.81)
CIE-LCHlch(50.06, 44.60, 286.30°)
OKLaboklab(57.39% -0.0038 -0.1212)
OKLCHoklch(57.39% 0.121 268.2)
XYZxyz(19.9731, 18.4688, 52.3713)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74C0 #C0A65A
analogous
#5AA7C0 #5A74C0 #735AC0
triadic
#5A74C0 #C05A74 #74C05A
tetradic
#5A74C0 #C05AA7 #C0A65A #5AC073
square
#5A74C0 #C05AA7 #C0A65A #5AC073
split-complementary
#5A74C0 #C0735A #A7C05A
monochromatic
#2C3E73 #3D56A0 #5A74C0 #8699D1 #B3BFE2

Accessibility & contrast

On white

4.47
#5A74C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5A74C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74C0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74C0#FFFFFF#000000##000000
##5A74C01.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#557CC3
Deuteranopia (green-blind)
#4A73BE
Tritanopia (blue-blind)
#278491
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a74c0;
/* rgb */ color: rgb(90, 116, 192);
/* oklch */ color: oklch(57.4% 0.121 268.2);
Tailwind
colors: {
  custom: {
    50: '#8f9bd3',
    500: '#5a74c0',
    950: '#000000',
  },
}
SCSS
$custom: #5a74c0;
$custom-light: #8f9bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74c0",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 192
  },
  "hsl": {
    "h": 224.706,
    "s": 44.737,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.1213,
    "h": 268.2
  },
  "luminance": 0.1847
}

Semantic roles & 50–950 ramp

primary
#5A74C0
secondary
#D0C5A6
accent
#B453D4
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0E14
muted
#7E7E83

Preview Lab

Preview with #5A74C0

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

Preview Lab → · Contrast checker → · Palette generator →

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