#5370E1#5370E1

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

Color values

HEX#5370E1
RGBrgb(83, 112, 225)
HSLhsl(228, 70%, 60%)
HSVhsv(228, 63%, 88%)
CMYKcmyk(63.1%, 50.2%, 0%, 11.8%)
CIE-LABlab(50.52, 24.60, -60.87)
CIE-LCHlch(50.52, 65.65, 292.00°)
OKLaboklab(58.26% -0.0015 -0.1745)
OKLCHoklch(58.26% 0.174 269.5)
XYZxyz(22.9475, 18.8616, 73.6509)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370E1 #E1C453
analogous
#53B7E1 #5370E1 #7D53E1
triadic
#5370E1 #E15370 #70E153
tetradic
#5370E1 #E153B7 #E1C453 #53E17D
square
#5370E1 #E153B7 #E1C453 #53E17D
split-complementary
#5370E1 #E17D53 #B7E153
monochromatic
#1C369E #2548D2 #5370E1 #879BEA #BBC7F3

Accessibility & contrast

On white

4.40
#5370E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#5370E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5370E1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370E1#FFFFFF#000000##000000
##5370E11.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307FE5
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#008A9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5370e1;
/* rgb */ color: rgb(83, 112, 225);
/* oklch */ color: oklch(58.3% 0.174 269.5);
Tailwind
colors: {
  custom: {
    50: '#9198eb',
    500: '#5370e1',
    950: '#000000',
  },
}
SCSS
$custom: #5370e1;
$custom-light: #9198eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5370e1",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 225
  },
  "hsl": {
    "h": 227.746,
    "s": 70.297,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5826,
    "c": 0.17447,
    "h": 269.5
  },
  "luminance": 0.18864
}

Semantic roles & 50–950 ramp

primary
#5370E1
secondary
#E3D8AD
accent
#AB13D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5370E1

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

Preview Lab → · Contrast checker → · Palette generator →

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