#5B74AF#5B74AF

#5B74AF is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.5% C 0.097 H 265.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5B74AF
RGBrgb(91, 116, 175)
HSLhsl(222, 34%, 52%)
HSVhsv(222, 48%, 69%)
CMYKcmyk(48%, 33.7%, 0%, 31.4%)
CIE-LABlab(49.26, 7.38, -34.24)
CIE-LCHlch(49.26, 35.02, 282.17°)
OKLaboklab(56.51% -0.0069 -0.0963)
OKLCHoklch(56.51% 0.097 265.9)
XYZxyz(18.2951, 17.8089, 43.0226)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B74AF #AF965B
analogous
#5B9EAF #5B74AF #6C5BAF
triadic
#5B74AF #AF5B74 #74AF5B
tetradic
#5B74AF #AF5B9E #AF965B #5BAF6C
square
#5B74AF #AF5B9E #AF965B #5BAF6C
split-complementary
#5B74AF #AF6C5B #9EAF5B
monochromatic
#2F3E61 #43588A #5B74AF #8497C3 #ADBAD7

Accessibility & contrast

On white

4.60
#5B74AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5B74AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B74AF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B74AF#FFFFFF#000000##FFFFFF
##5B74AF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B1
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#398089
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b74af;
/* rgb */ color: rgb(91, 116, 175);
/* oklch */ color: oklch(56.5% 0.097 265.9);
Tailwind
colors: {
  custom: {
    50: '#8e9bc7',
    500: '#5b74af',
    950: '#000000',
  },
}
SCSS
$custom: #5b74af;
$custom-light: #8e9bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b74af",
  "rgb": {
    "r": 91,
    "g": 116,
    "b": 175
  },
  "hsl": {
    "h": 222.143,
    "s": 34.426,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.0965,
    "h": 265.9
  },
  "luminance": 0.1781
}

Semantic roles & 50–950 ramp

primary
#5B74AF
secondary
#C5BAA1
accent
#AA5DCB
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0D0E13
muted
#7D7E82

Preview Lab

Preview with #5B74AF

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

Preview Lab → · Contrast checker → · Palette generator →

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