#5370EB#5370EB

#5370EB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 59.0% C 0.188 H 269.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5370EB
RGBrgb(83, 112, 235)
HSLhsl(229, 79%, 62%)
HSVhsv(229, 65%, 92%)
CMYKcmyk(64.7%, 52.3%, 0%, 7.8%)
CIE-LABlab(51.18, 28.00, -65.43)
CIE-LCHlch(51.18, 71.17, 293.17°)
OKLaboklab(58.96% -0.0007 -0.1879)
OKLCHoklch(58.96% 0.188 269.8)
XYZxyz(24.3518, 19.4233, 81.0469)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370EB #EBCE53
analogous
#53BCEB #5370EB #8253EB
triadic
#5370EB #EB5370 #70EB53
tetradic
#5370EB #EB53BC #EBCE53 #53EB82
square
#5370EB #EB53BC #EBCE53 #53EB82
split-complementary
#5370EB #EB8253 #BCEB53
monochromatic
#1432AF #1C42E5 #5370EB #8A9EF1 #C1CBF8

Accessibility & contrast

On white

4.30
#5370EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5370EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5370EB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370EB#FFFFFF#000000##000000
##5370EB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EF
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#008DA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5370eb;
/* rgb */ color: rgb(83, 112, 235);
/* oklch */ color: oklch(59.0% 0.188 269.8);
Tailwind
colors: {
  custom: {
    50: '#9298f2',
    500: '#5370eb',
    950: '#000000',
  },
}
SCSS
$custom: #5370eb;
$custom-light: #9298f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5370eb",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 228.553,
    "s": 79.167,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58963,
    "c": 0.18789,
    "h": 269.8
  },
  "luminance": 0.19425
}

Semantic roles & 50–950 ramp

primary
#5370EB
secondary
#E9DEB1
accent
#B40ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5370EB

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

Preview Lab → · Contrast checker → · Palette generator →

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