#5370E2#5370E2

#5370E2 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.3% C 0.176 H 269.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#5370E2
RGBrgb(83, 112, 226)
HSLhsl(228, 71%, 61%)
HSVhsv(228, 63%, 89%)
CMYKcmyk(63.3%, 50.4%, 0%, 11.4%)
CIE-LABlab(50.59, 24.94, -61.33)
CIE-LCHlch(50.59, 66.20, 292.13°)
OKLaboklab(58.33% -0.0014 -0.1758)
OKLCHoklch(58.33% 0.176 269.5)
XYZxyz(23.0843, 18.9163, 74.3715)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370E2 #E2C553
analogous
#53B7E2 #5370E2 #7D53E2
triadic
#5370E2 #E25370 #70E253
tetradic
#5370E2 #E253B7 #E2C553 #53E27D
square
#5370E2 #E253B7 #E2C553 #53E27D
split-complementary
#5370E2 #E27D53 #B7E253
monochromatic
#1B36A0 #2448D4 #5370E2 #879CEB #BCC7F4

Accessibility & contrast

On white

4.39
#5370E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#5370E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5370E2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370E2#FFFFFF#000000##000000
##5370E21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE6
Deuteranopia (green-blind)
#0072E0
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5370e2;
/* rgb */ color: rgb(83, 112, 226);
/* oklch */ color: oklch(58.3% 0.176 269.5);
Tailwind
colors: {
  custom: {
    50: '#9198ec',
    500: '#5370e2',
    950: '#000000',
  },
}
SCSS
$custom: #5370e2;
$custom-light: #9198ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5370e2",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 227.832,
    "s": 71.144,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.17582,
    "h": 269.5
  },
  "luminance": 0.18918
}

Semantic roles & 50–950 ramp

primary
#5370E2
secondary
#E4D9AD
accent
#AC12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5370E2

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

Preview Lab → · Contrast checker → · Palette generator →

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