#5371DC#5371DC

#5371DC is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.166 H 269.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5371DC
RGBrgb(83, 113, 220)
HSLhsl(227, 66%, 59%)
HSVhsv(227, 62%, 86%)
CMYKcmyk(62.3%, 48.6%, 0%, 13.7%)
CIE-LABlab(50.47, 22.27, -58.13)
CIE-LCHlch(50.47, 62.25, 290.97°)
OKLaboklab(58.12% -0.003 -0.1664)
OKLCHoklch(58.12% 0.166 269)
XYZxyz(22.3863, 18.8146, 70.1481)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371DC #DCBE53
analogous
#53B6DC #5371DC #7953DC
triadic
#5371DC #DC5371 #71DC53
tetradic
#5371DC #DC53B6 #DCBE53 #53DC79
square
#5371DC #DC53B6 #DCBE53 #53DC79
split-complementary
#5371DC #DC7953 #B6DC53
monochromatic
#1F3996 #294CC9 #5371DC #869BE6 #B9C5F1

Accessibility & contrast

On white

4.41
#5371DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#5371DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371DC#FFFFFF#000000##000000
##5371DC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE0
Deuteranopia (green-blind)
#1B72DA
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5371dc;
/* rgb */ color: rgb(83, 113, 220);
/* oklch */ color: oklch(58.1% 0.166 269.0);
Tailwind
colors: {
  custom: {
    50: '#9099e7',
    500: '#5371dc',
    950: '#000000',
  },
}
SCSS
$custom: #5371dc;
$custom-light: #9099e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5371dc",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 226.861,
    "s": 66.184,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58117,
    "c": 0.16644,
    "h": 269
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

primary
#5371DC
secondary
#E0D4AB
accent
#C43FE9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5371DC

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

Preview Lab → · Contrast checker → · Palette generator →

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