#5371C4#5371C4

#5371C4 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.6% C 0.133 H 267.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5371C4
RGBrgb(83, 113, 196)
HSLhsl(224, 49%, 55%)
HSVhsv(224, 58%, 77%)
CMYKcmyk(57.7%, 42.3%, 0%, 23.1%)
CIE-LABlab(49.05, 14.18, -46.74)
CIE-LCHlch(49.05, 48.84, 286.88°)
OKLaboklab(56.57% -0.0066 -0.1329)
OKLCHoklch(56.57% 0.133 267.1)
XYZxyz(19.4329, 17.6332, 54.5934)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371C4 #C4A653
analogous
#53A9C4 #5371C4 #6E53C4
triadic
#5371C4 #C45371 #71C453
tetradic
#5371C4 #C453A9 #C4A653 #53C46E
square
#5371C4 #C453A9 #C4A653 #53C46E
split-complementary
#5371C4 #C46E53 #A9C453
monochromatic
#283C75 #3854A2 #5371C4 #8197D4 #AEBCE3

Accessibility & contrast

On white

4.64
#5371C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#5371C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5371C4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371C4#FFFFFF#000000##FFFFFF
##5371C41.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC7
Deuteranopia (green-blind)
#3E70C2
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5371c4;
/* rgb */ color: rgb(83, 113, 196);
/* oklch */ color: oklch(56.6% 0.133 267.1);
Tailwind
colors: {
  custom: {
    50: '#8c99d6',
    500: '#5371c4',
    950: '#000000',
  },
}
SCSS
$custom: #5371c4;
$custom-light: #8c99d6;
$custom-dark: #000000;
JSON
{
  "hex": "#5371c4",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 224.071,
    "s": 48.918,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56572,
    "c": 0.13309,
    "h": 267.1
  },
  "luminance": 0.17635
}

Semantic roles & 50–950 ramp

primary
#5371C4
secondary
#D1C5A2
accent
#B44FD8
background
#F9F9FD
surface
#F1F2FA
border
#CBCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5371C4

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

Preview Lab → · Contrast checker → · Palette generator →

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