#5371E7#5371E7

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

Color values

HEX#5371E7
RGBrgb(83, 113, 231)
HSLhsl(228, 76%, 62%)
HSVhsv(228, 64%, 91%)
CMYKcmyk(64.1%, 51.1%, 0%, 9.4%)
CIE-LABlab(51.17, 26.02, -63.20)
CIE-LCHlch(51.17, 68.35, 292.38°)
OKLaboklab(58.87% -0.0019 -0.1813)
OKLCHoklch(58.87% 0.181 269.4)
XYZxyz(23.8913, 19.4166, 78.0745)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371E7 #E7C953
analogous
#53BBE7 #5371E7 #7F53E7
triadic
#5371E7 #E75371 #71E753
tetradic
#5371E7 #E753BB #E7C953 #53E77F
square
#5371E7 #E753BB #E7C953 #53E77F
split-complementary
#5371E7 #E77F53 #BBE753
monochromatic
#1735A8 #1F46DE #5371E7 #899DEE #BECAF6

Accessibility & contrast

On white

4.30
#5371E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#5371E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371E7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371E7#FFFFFF#000000##000000
##5371E71.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A81EB
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#008DA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5371e7;
/* rgb */ color: rgb(83, 113, 231);
/* oklch */ color: oklch(58.9% 0.181 269.4);
Tailwind
colors: {
  custom: {
    50: '#9299ef',
    500: '#5371e7',
    950: '#000000',
  },
}
SCSS
$custom: #5371e7;
$custom-light: #9299ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5371e7",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 227.838,
    "s": 75.51,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58874,
    "c": 0.18132,
    "h": 269.4
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#5371E7
secondary
#E6DBAF
accent
#AF0ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5371E7

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

Preview Lab → · Contrast checker → · Palette generator →

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