#5371DF#5371DF

#5371DF is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.171 H 269.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5371DF
RGBrgb(83, 113, 223)
HSLhsl(227, 69%, 60%)
HSVhsv(227, 63%, 87%)
CMYKcmyk(62.8%, 49.3%, 0%, 12.5%)
CIE-LABlab(50.66, 23.30, -59.52)
CIE-LCHlch(50.66, 63.92, 291.37°)
OKLaboklab(58.32% -0.0027 -0.1705)
OKLCHoklch(58.32% 0.171 269.1)
XYZxyz(22.7872, 18.9750, 72.2594)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371DF #DFC153
analogous
#53B7DF #5371DF #7B53DF
triadic
#5371DF #DF5371 #71DF53
tetradic
#5371DF #DF53B7 #DFC153 #53DF7B
square
#5371DF #DF53B7 #DFC153 #53DF7B
split-complementary
#5371DF #DF7B53 #B7DF53
monochromatic
#1D389B #264ACE #5371DF #879CE9 #BAC6F2

Accessibility & contrast

On white

4.38
#5371DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5371DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371DF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371DF#FFFFFF#000000##000000
##5371DF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE3
Deuteranopia (green-blind)
#1173DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5371df;
/* rgb */ color: rgb(83, 113, 223);
/* oklch */ color: oklch(58.3% 0.171 269.1);
Tailwind
colors: {
  custom: {
    50: '#9099ea',
    500: '#5371df',
    950: '#000000',
  },
}
SCSS
$custom: #5371df;
$custom-light: #9099ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5371df",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 227.143,
    "s": 68.627,
    "l": 60
  },
  "oklch": {
    "l": 0.58321,
    "c": 0.17052,
    "h": 269.1
  },
  "luminance": 0.18977
}

Semantic roles & 50–950 ramp

primary
#5371DF
secondary
#E2D6AC
accent
#C63CEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5371DF

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

Preview Lab → · Contrast checker → · Palette generator →

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