#5371E8#5371E8

#5371E8 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.9% C 0.183 H 269.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5371E8
RGBrgb(83, 113, 232)
HSLhsl(228, 76%, 62%)
HSVhsv(228, 64%, 91%)
CMYKcmyk(64.2%, 51.3%, 0%, 9%)
CIE-LABlab(51.24, 26.36, -63.65)
CIE-LCHlch(51.24, 68.90, 292.50°)
OKLaboklab(58.94% -0.0018 -0.1826)
OKLCHoklch(58.94% 0.183 269.4)
XYZxyz(24.0329, 19.4733, 78.8205)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371E8 #E8CA53
analogous
#53BCE8 #5371E8 #7F53E8
triadic
#5371E8 #E85371 #71E853
tetradic
#5371E8 #E853BC #E8CA53 #53E87F
square
#5371E8 #E853BC #E8CA53 #53E87F
split-complementary
#5371E8 #E87F53 #BCE853
monochromatic
#1734AA #1E45E0 #5371E8 #899EEF #BFCAF6

Accessibility & contrast

On white

4.29
#5371E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5371E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371E8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371E8#FFFFFF#000000##000000
##5371E81.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2881EC
Deuteranopia (green-blind)
#0074E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5371e8;
/* rgb */ color: rgb(83, 113, 232);
/* oklch */ color: oklch(58.9% 0.183 269.4);
Tailwind
colors: {
  custom: {
    50: '#9299f0',
    500: '#5371e8',
    950: '#000000',
  },
}
SCSS
$custom: #5371e8;
$custom-light: #9299f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5371e8",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 227.919,
    "s": 76.41,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58944,
    "c": 0.18266,
    "h": 269.4
  },
  "luminance": 0.19475
}

Semantic roles & 50–950 ramp

primary
#5371E8
secondary
#E7DCB0
accent
#B00DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5371E8

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

Preview Lab → · Contrast checker → · Palette generator →

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