#5370E4#5370E4

#5370E4 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.5% C 0.179 H 269.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5370E4
RGBrgb(83, 112, 228)
HSLhsl(228, 73%, 61%)
HSVhsv(228, 64%, 89%)
CMYKcmyk(63.6%, 50.9%, 0%, 10.6%)
CIE-LABlab(50.72, 25.62, -62.24)
CIE-LCHlch(50.72, 67.31, 292.37°)
OKLaboklab(58.47% -0.0013 -0.1785)
OKLCHoklch(58.47% 0.179 269.6)
XYZxyz(23.3603, 19.0267, 75.8252)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370E4 #E4C753
analogous
#53B8E4 #5370E4 #7E53E4
triadic
#5370E4 #E45370 #70E453
tetradic
#5370E4 #E453B8 #E4C753 #53E47E
square
#5370E4 #E453B8 #E4C753 #53E47E
split-complementary
#5370E4 #E47E53 #B8E453
monochromatic
#1A35A3 #2246D8 #5370E4 #889CEC #BDC8F5

Accessibility & contrast

On white

4.37
#5370E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5370E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5370E4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370E4#FFFFFF#000000##000000
##5370E41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C80E8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5370e4;
/* rgb */ color: rgb(83, 112, 228);
/* oklch */ color: oklch(58.5% 0.179 269.6);
Tailwind
colors: {
  custom: {
    50: '#9198ed',
    500: '#5370e4',
    950: '#000000',
  },
}
SCSS
$custom: #5370e4;
$custom-light: #9198ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5370e4",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 228
  },
  "hsl": {
    "h": 228,
    "s": 72.864,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58469,
    "c": 0.17851,
    "h": 269.6
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#5370E4
secondary
#E5DAAE
accent
#AE11D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5370E4

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

Preview Lab → · Contrast checker → · Palette generator →

#5370E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva