#5371B1#5371B1

#5371B1 is a mid, moderate blue. Relative luminance 0.168; OKLCH L 55.5% C 0.106 H 264.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5371B1
RGBrgb(83, 113, 177)
HSLhsl(221, 38%, 51%)
HSVhsv(221, 53%, 69%)
CMYKcmyk(53.1%, 36.2%, 0%, 30.6%)
CIE-LABlab(48.04, 7.92, -37.36)
CIE-LCHlch(48.04, 38.19, 281.97°)
OKLaboklab(55.46% -0.0107 -0.1055)
OKLCHoklch(55.46% 0.106 264.2)
XYZxyz(17.4056, 16.8223, 43.9163)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371B1 #B19353
analogous
#53A0B1 #5371B1 #6453B1
triadic
#5371B1 #B15371 #71B153
tetradic
#5371B1 #B153A0 #B19353 #53B164
square
#5371B1 #B153A0 #B19353 #53B164
split-complementary
#5371B1 #B16453 #A0B153
monochromatic
#2B3B5F #3E5689 #5371B1 #7D94C4 #A7B7D7

Accessibility & contrast

On white

4.81
#5371B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#5371B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5371B1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371B1#FFFFFF#000000##FFFFFF
##5371B11.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5877B4
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#247F89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5371b1;
/* rgb */ color: rgb(83, 113, 177);
/* oklch */ color: oklch(55.5% 0.106 264.2);
Tailwind
colors: {
  custom: {
    50: '#8999c8',
    500: '#5371b1',
    950: '#000000',
  },
}
SCSS
$custom: #5371b1;
$custom-light: #8999c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5371b1",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 177
  },
  "hsl": {
    "h": 220.851,
    "s": 37.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5546,
    "c": 0.10606,
    "h": 264.2
  },
  "luminance": 0.16824
}

Semantic roles & 50–950 ramp

primary
#5371B1
secondary
#C5B79B
accent
#A95ACE
background
#F8F9FC
surface
#F0F2F8
border
#CBCCD1
text
#0C0D13
muted
#7D7E82

Preview Lab

Preview with #5371B1

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

Preview Lab → · Contrast checker → · Palette generator →

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