#5370EF#5370EF

#5370EF is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.3% C 0.193 H 269.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#5370EF
RGBrgb(83, 112, 239)
HSLhsl(229, 83%, 63%)
HSVhsv(229, 65%, 94%)
CMYKcmyk(65.3%, 53.1%, 0%, 6.3%)
CIE-LABlab(51.45, 29.37, -67.23)
CIE-LCHlch(51.45, 73.37, 293.59°)
OKLaboklab(59.25% -0.0004 -0.1932)
OKLCHoklch(59.25% 0.193 269.9)
XYZxyz(24.9361, 19.6570, 84.1247)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370EF #EFD253
analogous
#53BEEF #5370EF #8453EF
triadic
#5370EF #EF5370 #70EF53
tetradic
#5370EF #EF53BE #EFD253 #53EF84
square
#5370EF #EF53BE #EFD253 #53EF84
split-complementary
#5370EF #EF8453 #BEEF53
monochromatic
#1130B7 #1B41EA #5370EF #8B9FF4 #C3CDF9

Accessibility & contrast

On white

4.26
#5370EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#5370EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5370EF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370EF#FFFFFF#000000##000000
##5370EF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1482F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5370ef;
/* rgb */ color: rgb(83, 112, 239);
/* oklch */ color: oklch(59.3% 0.193 269.9);
Tailwind
colors: {
  custom: {
    50: '#9398f5',
    500: '#5370ef',
    950: '#000000',
  },
}
SCSS
$custom: #5370ef;
$custom-light: #9398f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5370ef",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 228.846,
    "s": 82.979,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59251,
    "c": 0.19319,
    "h": 269.9
  },
  "luminance": 0.19659
}

Semantic roles & 50–950 ramp

primary
#5370EF
secondary
#EBE0B3
accent
#B706DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5370EF

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

Preview Lab → · Contrast checker → · Palette generator →

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