#5371C8#5371C8

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

Color values

HEX#5371C8
RGBrgb(83, 113, 200)
HSLhsl(225, 52%, 55%)
HSVhsv(225, 59%, 78%)
CMYKcmyk(58.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(49.27, 15.51, -48.67)
CIE-LCHlch(49.27, 51.08, 287.68°)
OKLaboklab(56.82% -0.0059 -0.1386)
OKLCHoklch(56.82% 0.139 267.6)
XYZxyz(19.8942, 17.8178, 57.0232)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371C8 #C8AA53
analogous
#53ACC8 #5371C8 #6F53C8
triadic
#5371C8 #C85371 #71C853
tetradic
#5371C8 #C853AC #C8AA53 #53C86F
square
#5371C8 #C853AC #C8AA53 #53C86F
split-complementary
#5371C8 #C86F53 #ACC853
monochromatic
#273C7A #3653A8 #5371C8 #8197D7 #B0BEE6

Accessibility & contrast

On white

4.60
#5371C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5371C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5371C8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371C8#FFFFFF#000000##FFFFFF
##5371C81.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A7BCB
Deuteranopia (green-blind)
#3A70C6
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5371c8;
/* rgb */ color: rgb(83, 113, 200);
/* oklch */ color: oklch(56.8% 0.139 267.6);
Tailwind
colors: {
  custom: {
    50: '#8d99d9',
    500: '#5371c8',
    950: '#000000',
  },
}
SCSS
$custom: #5371c8;
$custom-light: #8d99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5371c8",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 224.615,
    "s": 51.542,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56819,
    "c": 0.13872,
    "h": 267.6
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#5371C8
secondary
#D4C7A3
accent
#B74DDB
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5371C8

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

Preview Lab → · Contrast checker → · Palette generator →

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