#5A74BB#5A74BB

#5A74BB is a mid, moderate blue. Relative luminance 0.183; OKLCH L 57.1% C 0.114 H 267.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5A74BB
RGBrgb(90, 116, 187)
HSLhsl(224, 42%, 54%)
HSVhsv(224, 52%, 73%)
CMYKcmyk(51.9%, 38%, 0%, 26.7%)
CIE-LABlab(49.80, 10.92, -40.34)
CIE-LCHlch(49.80, 41.79, 285.14°)
OKLaboklab(57.1% -0.0049 -0.114)
OKLCHoklch(57.1% 0.114 267.5)
XYZxyz(19.4285, 18.2510, 49.5031)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A74BB #BBA15A
analogous
#5AA4BB #5A74BB #715ABB
triadic
#5A74BB #BB5A74 #74BB5A
tetradic
#5A74BB #BB5AA4 #BBA15A #5ABB71
square
#5A74BB #BB5AA4 #BBA15A #5ABB71
split-complementary
#5A74BB #BB715A #A4BB5A
monochromatic
#2D3E6D #3F5799 #5A74BB #8599CD #B1BDDF

Accessibility & contrast

On white

4.52
#5A74BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5A74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A74BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A74BB#FFFFFF#000000##000000
##5A74BB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#587BBE
Deuteranopia (green-blind)
#4D72B9
Tritanopia (blue-blind)
#2D838E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a74bb;
/* rgb */ color: rgb(90, 116, 187);
/* oklch */ color: oklch(57.1% 0.114 267.5);
Tailwind
colors: {
  custom: {
    50: '#8f9bd0',
    500: '#5a74bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a74bb;
$custom-light: #8f9bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a74bb",
  "rgb": {
    "r": 90,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 223.918,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57101,
    "c": 0.11415,
    "h": 267.5
  },
  "luminance": 0.18252
}

Semantic roles & 50–950 ramp

primary
#5A74BB
secondary
#CDC2A4
accent
#B056D1
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0E14
muted
#7E7E82

Preview Lab

Preview with #5A74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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