#5371E4#5371E4

#5371E4 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.7% C 0.177 H 269.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5371E4
RGBrgb(83, 113, 228)
HSLhsl(228, 73%, 61%)
HSVhsv(228, 64%, 89%)
CMYKcmyk(63.6%, 50.4%, 0%, 10.6%)
CIE-LABlab(50.98, 25.00, -61.83)
CIE-LCHlch(50.98, 66.69, 292.01°)
OKLaboklab(58.66% -0.0022 -0.1773)
OKLCHoklch(58.66% 0.177 269.3)
XYZxyz(23.4712, 19.2486, 75.8622)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371E4 #E4C653
analogous
#53B9E4 #5371E4 #7D53E4
triadic
#5371E4 #E45371 #71E453
tetradic
#5371E4 #E453B9 #E4C653 #53E47D
square
#5371E4 #E453B9 #E4C653 #53E47D
split-complementary
#5371E4 #E47D53 #B9E453
monochromatic
#1A36A3 #2248D8 #5371E4 #889DEC #BDC8F5

Accessibility & contrast

On white

4.33
#5371E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5371E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371E4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371E4#FFFFFF#000000##000000
##5371E41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F80E8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#008CA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5371e4;
/* rgb */ color: rgb(83, 113, 228);
/* oklch */ color: oklch(58.7% 0.177 269.3);
Tailwind
colors: {
  custom: {
    50: '#9199ed',
    500: '#5371e4',
    950: '#000000',
  },
}
SCSS
$custom: #5371e4;
$custom-light: #9199ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5371e4",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 227.586,
    "s": 72.864,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.17728,
    "h": 269.3
  },
  "luminance": 0.19251
}

Semantic roles & 50–950 ramp

primary
#5371E4
secondary
#E5D9AE
accent
#AC11D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5371E4

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

Preview Lab → · Contrast checker → · Palette generator →

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