#5370E8#5370E8

#5370E8 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.184 H 269.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5370E8
RGBrgb(83, 112, 232)
HSLhsl(228, 76%, 62%)
HSVhsv(228, 64%, 91%)
CMYKcmyk(64.2%, 51.7%, 0%, 9%)
CIE-LABlab(50.98, 26.98, -64.07)
CIE-LCHlch(50.98, 69.52, 292.84°)
OKLaboklab(58.75% -0.0009 -0.1839)
OKLCHoklch(58.75% 0.184 269.7)
XYZxyz(23.9220, 19.2514, 78.7835)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370E8 #E8CB53
analogous
#53BBE8 #5370E8 #8153E8
triadic
#5370E8 #E85370 #70E853
tetradic
#5370E8 #E853BB #E8CB53 #53E881
square
#5370E8 #E853BB #E8CB53 #53E881
split-complementary
#5370E8 #E88153 #BBE853
monochromatic
#1733AA #1E44E0 #5370E8 #899DEF #BFCAF6

Accessibility & contrast

On white

4.33
#5370E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5370E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5370E8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370E8#FFFFFF#000000##000000
##5370E81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2580EC
Deuteranopia (green-blind)
#0073E6
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5370e8;
/* rgb */ color: rgb(83, 112, 232);
/* oklch */ color: oklch(58.8% 0.184 269.7);
Tailwind
colors: {
  custom: {
    50: '#9298f0',
    500: '#5370e8',
    950: '#000000',
  },
}
SCSS
$custom: #5370e8;
$custom-light: #9298f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5370e8",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 228.322,
    "s": 76.41,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5875,
    "c": 0.18388,
    "h": 269.7
  },
  "luminance": 0.19254
}

Semantic roles & 50–950 ramp

primary
#5370E8
secondary
#E7DCB0
accent
#B10DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5370E8

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

Preview Lab → · Contrast checker → · Palette generator →

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