#5371C2#5371C2

#5371C2 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.5% C 0.130 H 266.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5371C2
RGBrgb(83, 113, 194)
HSLhsl(224, 48%, 54%)
HSVhsv(224, 57%, 76%)
CMYKcmyk(57.2%, 41.8%, 0%, 23.9%)
CIE-LABlab(48.94, 13.51, -45.76)
CIE-LCHlch(48.94, 47.72, 286.45°)
OKLaboklab(56.45% -0.007 -0.1301)
OKLCHoklch(56.45% 0.13 266.9)
XYZxyz(19.2067, 17.5428, 53.4024)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371C2 #C2A453
analogous
#53A8C2 #5371C2 #6D53C2
triadic
#5371C2 #C25371 #71C253
tetradic
#5371C2 #C253A8 #C2A453 #53C26D
square
#5371C2 #C253A8 #C2A453 #53C26D
split-complementary
#5371C2 #C26D53 #A8C253
monochromatic
#283C72 #38549F #5371C2 #8096D2 #ADBCE2

Accessibility & contrast

On white

4.66
#5371C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5371C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5371C2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371C2#FFFFFF#000000##FFFFFF
##5371C21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E7AC5
Deuteranopia (green-blind)
#4070C0
Tritanopia (blue-blind)
#008390
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5371c2;
/* rgb */ color: rgb(83, 113, 194);
/* oklch */ color: oklch(56.5% 0.130 266.9);
Tailwind
colors: {
  custom: {
    50: '#8c99d5',
    500: '#5371c2',
    950: '#000000',
  },
}
SCSS
$custom: #5371c2;
$custom-light: #8c99d5;
$custom-dark: #000000;
JSON
{
  "hex": "#5371c2",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 223.784,
    "s": 47.639,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5645,
    "c": 0.13026,
    "h": 266.9
  },
  "luminance": 0.17544
}

Semantic roles & 50–950 ramp

primary
#5371C2
secondary
#D0C3A1
accent
#B351D7
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5371C2

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

Preview Lab → · Contrast checker → · Palette generator →

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