#5371C7#5371C7

#5371C7 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.8% C 0.137 H 267.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5371C7
RGBrgb(83, 113, 199)
HSLhsl(224, 51%, 55%)
HSVhsv(224, 58%, 78%)
CMYKcmyk(58.3%, 43.2%, 0%, 22%)
CIE-LABlab(49.22, 15.18, -48.19)
CIE-LCHlch(49.22, 50.52, 287.49°)
OKLaboklab(56.76% -0.0061 -0.1372)
OKLCHoklch(56.76% 0.137 267.5)
XYZxyz(19.7777, 17.7712, 56.4097)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371C7 #C7A953
analogous
#53ABC7 #5371C7 #6F53C7
triadic
#5371C7 #C75371 #71C753
tetradic
#5371C7 #C753AB #C7A953 #53C76F
square
#5371C7 #C753AB #C7A953 #53C76F
split-complementary
#5371C7 #C76F53 #ABC753
monochromatic
#273C78 #3653A7 #5371C7 #8197D6 #AFBDE5

Accessibility & contrast

On white

4.61
#5371C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5371C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5371C7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371C7#FFFFFF#000000##FFFFFF
##5371C71.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCA
Deuteranopia (green-blind)
#3B70C5
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5371c7;
/* rgb */ color: rgb(83, 113, 199);
/* oklch */ color: oklch(56.8% 0.137 267.5);
Tailwind
colors: {
  custom: {
    50: '#8c99d8',
    500: '#5371c7',
    950: '#000000',
  },
}
SCSS
$custom: #5371c7;
$custom-light: #8c99d8;
$custom-dark: #000000;
JSON
{
  "hex": "#5371c7",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 224.483,
    "s": 50.877,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56757,
    "c": 0.13732,
    "h": 267.5
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#5371C7
secondary
#D3C7A3
accent
#B64DDA
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5371C7

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

Preview Lab → · Contrast checker → · Palette generator →

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