#5370DF#5370DF

#5370DF is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.1% C 0.172 H 269.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5370DF
RGBrgb(83, 112, 223)
HSLhsl(228, 69%, 60%)
HSVhsv(228, 63%, 87%)
CMYKcmyk(62.8%, 49.8%, 0%, 12.5%)
CIE-LABlab(50.40, 23.91, -59.94)
CIE-LCHlch(50.40, 64.54, 291.75°)
OKLaboklab(58.12% -0.0017 -0.1718)
OKLCHoklch(58.12% 0.172 269.4)
XYZxyz(22.6762, 18.7531, 72.2224)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5370DF #DFC253
analogous
#53B6DF #5370DF #7C53DF
triadic
#5370DF #DF5370 #70DF53
tetradic
#5370DF #DF53B6 #DFC253 #53DF7C
square
#5370DF #DF53B6 #DFC253 #53DF7C
split-complementary
#5370DF #DF7C53 #B6DF53
monochromatic
#1D379B #2649CE #5370DF #879BE9 #BAC6F2

Accessibility & contrast

On white

4.42
#5370DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5370DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5370DF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5370DF#FFFFFF#000000##000000
##5370DF1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#337FE3
Deuteranopia (green-blind)
#0A72DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5370df;
/* rgb */ color: rgb(83, 112, 223);
/* oklch */ color: oklch(58.1% 0.172 269.4);
Tailwind
colors: {
  custom: {
    50: '#9098ea',
    500: '#5370df',
    950: '#000000',
  },
}
SCSS
$custom: #5370df;
$custom-light: #9098ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5370df",
  "rgb": {
    "r": 83,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 227.571,
    "s": 68.627,
    "l": 60
  },
  "oklch": {
    "l": 0.58123,
    "c": 0.17176,
    "h": 269.4
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

primary
#5370DF
secondary
#E2D7AC
accent
#C73CEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5370DF

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

Preview Lab → · Contrast checker → · Palette generator →

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