#5371BB#5371BB

#5371BB is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.0% C 0.120 H 266.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5371BB
RGBrgb(83, 113, 187)
HSLhsl(223, 43%, 53%)
HSVhsv(223, 56%, 73%)
CMYKcmyk(55.6%, 39.6%, 0%, 26.7%)
CIE-LABlab(48.56, 11.19, -42.34)
CIE-LCHlch(48.56, 43.79, 284.81°)
OKLaboklab(56.03% -0.0084 -0.12)
OKLCHoklch(56.03% 0.12 266)
XYZxyz(18.4390, 17.2357, 49.3592)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371BB #BB9D53
analogous
#53A5BB #5371BB #6953BB
triadic
#5371BB #BB5371 #71BB53
tetradic
#5371BB #BB53A5 #BB9D53 #53BB69
square
#5371BB #BB53A5 #BB9D53 #53BB69
split-complementary
#5371BB #BB6953 #A5BB53
monochromatic
#2A3C6A #3B5596 #5371BB #7F95CC #ABB9DE

Accessibility & contrast

On white

4.72
#5371BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5371BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5371BB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371BB#FFFFFF#000000##FFFFFF
##5371BB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5278BE
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#14818D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5371bb;
/* rgb */ color: rgb(83, 113, 187);
/* oklch */ color: oklch(56.0% 0.120 266.0);
Tailwind
colors: {
  custom: {
    50: '#8b99d0',
    500: '#5371bb',
    950: '#000000',
  },
}
SCSS
$custom: #5371bb;
$custom-light: #8b99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5371bb",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 222.692,
    "s": 43.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.12033,
    "h": 266
  },
  "luminance": 0.17237
}

Semantic roles & 50–950 ramp

primary
#5371BB
secondary
#CBBE9E
accent
#AF55D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #5371BB

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

Preview Lab → · Contrast checker → · Palette generator →

#5371BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva