#5371BC#5371BC

#5371BC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.1% C 0.122 H 266.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5371BC
RGBrgb(83, 113, 188)
HSLhsl(223, 44%, 53%)
HSVhsv(223, 56%, 74%)
CMYKcmyk(55.9%, 39.9%, 0%, 26.3%)
CIE-LABlab(48.61, 11.52, -42.83)
CIE-LCHlch(48.61, 44.35, 285.06°)
OKLaboklab(56.09% -0.0082 -0.1215)
OKLCHoklch(56.09% 0.122 266.1)
XYZxyz(18.5465, 17.2787, 49.9250)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371BC #BC9E53
analogous
#53A5BC #5371BC #6953BC
triadic
#5371BC #BC5371 #71BC53
tetradic
#5371BC #BC53A5 #BC9E53 #53BC69
square
#5371BC #BC53A5 #BC9E53 #53BC69
split-complementary
#5371BC #BC6953 #A5BC53
monochromatic
#2A3C6B #3B5597 #5371BC #7F95CD #ABBADE

Accessibility & contrast

On white

4.71
#5371BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#5371BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5371BC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371BC#FFFFFF#000000##FFFFFF
##5371BC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#456FBA
Tritanopia (blue-blind)
#12818D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5371bc;
/* rgb */ color: rgb(83, 113, 188);
/* oklch */ color: oklch(56.1% 0.122 266.1);
Tailwind
colors: {
  custom: {
    50: '#8b99d0',
    500: '#5371bc',
    950: '#000000',
  },
}
SCSS
$custom: #5371bc;
$custom-light: #8b99d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5371bc",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 222.857,
    "s": 43.933,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56091,
    "c": 0.12175,
    "h": 266.1
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#5371BC
secondary
#CCBF9F
accent
#AF54D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #5371BC

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

Preview Lab → · Contrast checker → · Palette generator →

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