#5371E2#5371E2

#5371E2 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.5% C 0.175 H 269.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#5371E2
RGBrgb(83, 113, 226)
HSLhsl(227, 71%, 61%)
HSVhsv(227, 63%, 89%)
CMYKcmyk(63.3%, 50%, 0%, 11.4%)
CIE-LABlab(50.85, 24.32, -60.91)
CIE-LCHlch(50.85, 65.58, 291.76°)
OKLaboklab(58.53% -0.0024 -0.1746)
OKLCHoklch(58.53% 0.175 269.2)
XYZxyz(23.1952, 19.1382, 74.4084)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371E2 #E2C453
analogous
#53B8E2 #5371E2 #7D53E2
triadic
#5371E2 #E25371 #71E253
tetradic
#5371E2 #E253B8 #E2C453 #53E27D
square
#5371E2 #E253B8 #E2C453 #53E27D
split-complementary
#5371E2 #E27D53 #B8E253
monochromatic
#1B37A0 #2449D4 #5371E2 #879CEB #BCC7F4

Accessibility & contrast

On white

4.35
#5371E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5371E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371E2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371E2#FFFFFF#000000##000000
##5371E21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3180E6
Deuteranopia (green-blind)
#0273E0
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5371e2;
/* rgb */ color: rgb(83, 113, 226);
/* oklch */ color: oklch(58.5% 0.175 269.2);
Tailwind
colors: {
  custom: {
    50: '#9199ec',
    500: '#5371e2',
    950: '#000000',
  },
}
SCSS
$custom: #5371e2;
$custom-light: #9199ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5371e2",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 227.413,
    "s": 71.144,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.17459,
    "h": 269.2
  },
  "luminance": 0.1914
}

Semantic roles & 50–950 ramp

primary
#5371E2
secondary
#E4D8AD
accent
#AB12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5371E2

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

Preview Lab → · Contrast checker → · Palette generator →

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