#5371BF#5371BF

#5371BF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.3% C 0.126 H 266.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5371BF
RGBrgb(83, 113, 191)
HSLhsl(223, 46%, 54%)
HSVhsv(223, 57%, 75%)
CMYKcmyk(56.5%, 40.8%, 0%, 25.1%)
CIE-LABlab(48.77, 12.51, -44.30)
CIE-LCHlch(48.77, 46.03, 285.77°)
OKLaboklab(56.27% -0.0076 -0.1258)
OKLCHoklch(56.27% 0.126 266.5)
XYZxyz(18.8732, 17.4094, 51.6459)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371BF #BFA153
analogous
#53A7BF #5371BF #6B53BF
triadic
#5371BF #BF5371 #71BF53
tetradic
#5371BF #BF53A7 #BFA153 #53BF6B
square
#5371BF #BF53A7 #BFA153 #53BF6B
split-complementary
#5371BF #BF6B53 #A7BF53
monochromatic
#293C6E #3A559B #5371BF #8096D0 #ACBBE0

Accessibility & contrast

On white

4.69
#5371BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5371BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5371BF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371BF#FFFFFF#000000##FFFFFF
##5371BF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#09828F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5371bf;
/* rgb */ color: rgb(83, 113, 191);
/* oklch */ color: oklch(56.3% 0.126 266.5);
Tailwind
colors: {
  custom: {
    50: '#8b99d3',
    500: '#5371bf',
    950: '#000000',
  },
}
SCSS
$custom: #5371bf;
$custom-light: #8b99d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5371bf",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 223.333,
    "s": 45.763,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5627,
    "c": 0.12601,
    "h": 266.5
  },
  "luminance": 0.17411
}

Semantic roles & 50–950 ramp

primary
#5371BF
secondary
#CEC1A0
accent
#B152D5
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #5371BF

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

Preview Lab → · Contrast checker → · Palette generator →

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