#5370EA#5370EA

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

Color values

HEX#5370EA
RGBrgb(83, 112, 234)
HSLhsl(228, 78%, 62%)
HSVhsv(228, 65%, 92%)
CMYKcmyk(64.5%, 52.1%, 0%, 8.2%)
CIE-LABlab(51.11, 27.66, -64.98)
CIE-LCHlch(51.11, 70.62, 293.06°)
OKLaboklab(58.89% -0.0008 -0.1865)
OKLCHoklch(58.89% 0.187 269.8)
XYZxyz(24.2077, 19.3657, 80.2882)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370EA #EACD53
analogous
#53BBEA #5370EA #8253EA
triadic
#5370EA #EA5370 #70EA53
tetradic
#5370EA #EA53BB #EACD53 #53EA82
square
#5370EA #EA53BB #EACD53 #53EA82
split-complementary
#5370EA #EA8253 #BBEA53
monochromatic
#1532AD #1C43E3 #5370EA #8A9DF1 #C0CBF7

Accessibility & contrast

On white

4.31
#5370EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5370EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5370EA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370EA#FFFFFF#000000##000000
##5370EA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2181EE
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5370ea;
/* rgb */ color: rgb(83, 112, 234);
/* oklch */ color: oklch(58.9% 0.187 269.8);
Tailwind
colors: {
  custom: {
    50: '#9298f1',
    500: '#5370ea',
    950: '#000000',
  },
}
SCSS
$custom: #5370ea;
$custom-light: #9298f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5370ea",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 228.477,
    "s": 78.238,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58892,
    "c": 0.18655,
    "h": 269.8
  },
  "luminance": 0.19368
}

Semantic roles & 50–950 ramp

primary
#5370EA
secondary
#E8DDB1
accent
#B30BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5370EA

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

Preview Lab → · Contrast checker → · Palette generator →

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