#5371EA#5371EA

#5371EA is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.1% C 0.185 H 269.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5371EA
RGBrgb(83, 113, 234)
HSLhsl(228, 78%, 62%)
HSVhsv(228, 65%, 92%)
CMYKcmyk(64.5%, 51.7%, 0%, 8.2%)
CIE-LABlab(51.37, 27.04, -64.56)
CIE-LCHlch(51.37, 70.00, 292.73°)
OKLaboklab(59.09% -0.0017 -0.1853)
OKLCHoklch(59.09% 0.185 269.5)
XYZxyz(24.3186, 19.5876, 80.3252)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371EA #EACC53
analogous
#53BDEA #5371EA #8053EA
triadic
#5371EA #EA5371 #71EA53
tetradic
#5371EA #EA53BD #EACC53 #53EA80
square
#5371EA #EA53BD #EACC53 #53EA80
split-complementary
#5371EA #EA8053 #BDEA53
monochromatic
#1533AD #1C44E3 #5371EA #8A9EF1 #C0CBF7

Accessibility & contrast

On white

4.27
#5371EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#5371EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371EA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371EA#FFFFFF#000000##000000
##5371EA1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2582EE
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5371ea;
/* rgb */ color: rgb(83, 113, 234);
/* oklch */ color: oklch(59.1% 0.185 269.5);
Tailwind
colors: {
  custom: {
    50: '#9299f1',
    500: '#5371ea',
    950: '#000000',
  },
}
SCSS
$custom: #5371ea;
$custom-light: #9299f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5371ea",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 228.079,
    "s": 78.238,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.18534,
    "h": 269.5
  },
  "luminance": 0.1959
}

Semantic roles & 50–950 ramp

primary
#5371EA
secondary
#E8DDB1
accent
#B10BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5371EA

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

Preview Lab → · Contrast checker → · Palette generator →

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