#5A74BC#5A74BC

#5A74BC is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.2% C 0.116 H 267.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5A74BC
RGBrgb(90, 116, 188)
HSLhsl(224, 42%, 55%)
HSVhsv(224, 52%, 74%)
CMYKcmyk(52.1%, 38.3%, 0%, 26.3%)
CIE-LABlab(49.85, 11.24, -40.84)
CIE-LCHlch(49.85, 42.35, 285.39°)
OKLaboklab(57.16% -0.0047 -0.1155)
OKLCHoklch(57.16% 0.116 267.7)
XYZxyz(19.5360, 18.2939, 50.0688)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74BC #BCA25A
analogous
#5AA5BC #5A74BC #715ABC
triadic
#5A74BC #BC5A74 #74BC5A
tetradic
#5A74BC #BC5AA5 #BCA25A #5ABC71
square
#5A74BC #BC5AA5 #BCA25A #5ABC71
split-complementary
#5A74BC #BC715A #A5BC5A
monochromatic
#2D3E6F #3F579A #5A74BC #8699CE #B1BDDF

Accessibility & contrast

On white

4.51
#5A74BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5A74BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74BC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74BC#FFFFFF#000000##000000
##5A74BC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#577BBF
Deuteranopia (green-blind)
#4C73BA
Tritanopia (blue-blind)
#2C838F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5a74bc;
/* rgb */ color: rgb(90, 116, 188);
/* oklch */ color: oklch(57.2% 0.116 267.7);
Tailwind
colors: {
  custom: {
    50: '#8f9bd0',
    500: '#5a74bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a74bc;
$custom-light: #8f9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74bc",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 188
  },
  "hsl": {
    "h": 224.082,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57158,
    "c": 0.11559,
    "h": 267.7
  },
  "luminance": 0.18295
}

Semantic roles & 50–950 ramp

primary
#5A74BC
secondary
#CEC3A4
accent
#B156D2
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A74BC

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

Preview Lab → · Contrast checker → · Palette generator →

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