#5371EF#5371EF

#5371EF is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.4% C 0.192 H 269.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#5371EF
RGBrgb(83, 113, 239)
HSLhsl(228, 83%, 63%)
HSVhsv(228, 65%, 94%)
CMYKcmyk(65.3%, 52.7%, 0%, 6.3%)
CIE-LABlab(51.70, 28.75, -66.82)
CIE-LCHlch(51.70, 72.75, 293.28°)
OKLaboklab(59.44% -0.0013 -0.192)
OKLCHoklch(59.44% 0.192 269.6)
XYZxyz(25.0471, 19.8789, 84.1617)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371EF #EFD153
analogous
#53BFEF #5371EF #8353EF
triadic
#5371EF #EF5371 #71EF53
tetradic
#5371EF #EF53BF #EFD153 #53EF83
square
#5371EF #EF53BF #EFD153 #53EF83
split-complementary
#5371EF #EF8353 #BFEF53
monochromatic
#1131B7 #1B43EA #5371EF #8B9FF4 #C3CDF9

Accessibility & contrast

On white

4.22
#5371EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#5371EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371EF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371EF#FFFFFF#000000##000000
##5371EF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A83F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5371ef;
/* rgb */ color: rgb(83, 113, 239);
/* oklch */ color: oklch(59.4% 0.192 269.6);
Tailwind
colors: {
  custom: {
    50: '#9399f5',
    500: '#5371ef',
    950: '#000000',
  },
}
SCSS
$custom: #5371ef;
$custom-light: #9399f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5371ef",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 228.462,
    "s": 82.979,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59441,
    "c": 0.19198,
    "h": 269.6
  },
  "luminance": 0.19881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5371EF

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

Preview Lab → · Contrast checker → · Palette generator →

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