#5371EE#5371EE

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

Color values

HEX#5371EE
RGBrgb(83, 113, 238)
HSLhsl(228, 82%, 63%)
HSVhsv(228, 65%, 93%)
CMYKcmyk(65.1%, 52.5%, 0%, 6.7%)
CIE-LABlab(51.63, 28.41, -66.37)
CIE-LCHlch(51.63, 72.20, 293.17°)
OKLaboklab(59.37% -0.0014 -0.1906)
OKLCHoklch(59.37% 0.191 269.6)
XYZxyz(24.8998, 19.8200, 83.3858)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5371EE #EED053
analogous
#53BFEE #5371EE #8253EE
triadic
#5371EE #EE5371 #71EE53
tetradic
#5371EE #EE53BF #EED053 #53EE82
square
#5371EE #EE53BF #EED053 #53EE82
split-complementary
#5371EE #EE8253 #BFEE53
monochromatic
#1231B5 #1B43E8 #5371EE #8B9FF4 #C2CDF9

Accessibility & contrast

On white

4.23
#5371EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#5371EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5371EE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5371EE#FFFFFF#000000##000000
##5371EE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5371ee;
/* rgb */ color: rgb(83, 113, 238);
/* oklch */ color: oklch(59.4% 0.191 269.6);
Tailwind
colors: {
  custom: {
    50: '#9399f4',
    500: '#5371ee',
    950: '#000000',
  },
}
SCSS
$custom: #5371ee;
$custom-light: #9399f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5371ee",
  "rgb": {
    "r": 83,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 228.387,
    "s": 82.011,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5937,
    "c": 0.19065,
    "h": 269.6
  },
  "luminance": 0.19822
}

Semantic roles & 50–950 ramp

primary
#5371EE
secondary
#EADFB2
accent
#B507DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #5371EE

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

Preview Lab → · Contrast checker → · Palette generator →

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