#5370E7#5370E7

#5370E7 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.7% C 0.183 H 269.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5370E7
RGBrgb(83, 112, 231)
HSLhsl(228, 76%, 62%)
HSVhsv(228, 64%, 91%)
CMYKcmyk(64.1%, 51.5%, 0%, 9.4%)
CIE-LABlab(50.91, 26.64, -63.61)
CIE-LCHlch(50.91, 68.97, 292.72°)
OKLaboklab(58.68% -0.001 -0.1825)
OKLCHoklch(58.68% 0.183 269.7)
XYZxyz(23.7804, 19.1947, 78.0376)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370E7 #E7CA53
analogous
#53BAE7 #5370E7 #8053E7
triadic
#5370E7 #E75370 #70E753
tetradic
#5370E7 #E753BA #E7CA53 #53E780
square
#5370E7 #E753BA #E7CA53 #53E780
split-complementary
#5370E7 #E78053 #BAE753
monochromatic
#1734A8 #1F44DE #5370E7 #899DEE #BEC9F6

Accessibility & contrast

On white

4.34
#5370E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5370E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5370E7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370E7#FFFFFF#000000##000000
##5370E71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EB
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5370e7;
/* rgb */ color: rgb(83, 112, 231);
/* oklch */ color: oklch(58.7% 0.183 269.7);
Tailwind
colors: {
  custom: {
    50: '#9298ef',
    500: '#5370e7',
    950: '#000000',
  },
}
SCSS
$custom: #5370e7;
$custom-light: #9298ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5370e7",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 228.243,
    "s": 75.51,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58679,
    "c": 0.18254,
    "h": 269.7
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#5370E7
secondary
#E6DCAF
accent
#B00ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5370E7

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

Preview Lab → · Contrast checker → · Palette generator →

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