#5371E9#5371E9

#5371E9 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.184 H 269.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5371E9
RGBrgb(83, 113, 233)
HSLhsl(228, 77%, 62%)
HSVhsv(228, 64%, 91%)
CMYKcmyk(64.4%, 51.5%, 0%, 8.6%)
CIE-LABlab(51.30, 26.70, -64.11)
CIE-LCHlch(51.30, 69.45, 292.61°)
OKLaboklab(59.01% -0.0017 -0.184)
OKLCHoklch(59.01% 0.184 269.5)
XYZxyz(24.1754, 19.5303, 79.5707)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371E9 #E9CB53
analogous
#53BCE9 #5371E9 #8053E9
triadic
#5371E9 #E95371 #71E953
tetradic
#5371E9 #E953BC #E9CB53 #53E980
square
#5371E9 #E953BC #E9CB53 #53E980
split-complementary
#5371E9 #E98053 #BCE953
monochromatic
#1634AC #1D44E2 #5371E9 #899EF0 #C0CBF7

Accessibility & contrast

On white

4.28
#5371E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5371E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371E9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371E9#FFFFFF#000000##000000
##5371E91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2781ED
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5371e9;
/* rgb */ color: rgb(83, 113, 233);
/* oklch */ color: oklch(59.0% 0.184 269.5);
Tailwind
colors: {
  custom: {
    50: '#9299f1',
    500: '#5371e9',
    950: '#000000',
  },
}
SCSS
$custom: #5371e9;
$custom-light: #9299f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5371e9",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 228,
    "s": 77.32,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.184,
    "h": 269.5
  },
  "luminance": 0.19532
}

Semantic roles & 50–950 ramp

primary
#5371E9
secondary
#E8DCB0
accent
#B00CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5371E9

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

Preview Lab → · Contrast checker → · Palette generator →

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