#5A71EE#5A71EE

#5A71EE is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.189 H 271.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5A71EE
RGBrgb(90, 113, 238)
HSLhsl(231, 81%, 64%)
HSVhsv(231, 62%, 93%)
CMYKcmyk(62.2%, 52.5%, 0%, 6.7%)
CIE-LABlab(52.01, 29.53, -65.74)
CIE-LCHlch(52.01, 72.07, 294.19°)
OKLaboklab(59.76% 0.0055 -0.1886)
OKLCHoklch(59.76% 0.189 271.7)
XYZxyz(25.5490, 20.1548, 83.4162)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A71EE #EED75A
analogous
#5ABBEE #5A71EE #8D5AEE
triadic
#5A71EE #EE5A71 #71EE5A
tetradic
#5A71EE #EE5ABB #EED75A #5AEE8D
square
#5A71EE #EE5ABB #EED75A #5AEE8D
split-complementary
#5A71EE #EE8D5A #BBEE5A
monochromatic
#132DBA #2341E8 #5A71EE #91A1F4 #C9D0F9

Accessibility & contrast

On white

4.17
#5A71EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5A71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A71EE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A71EE#FFFFFF#000000##000000
##5A71EE1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2083F2
Deuteranopia (green-blind)
#0076EB
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5a71ee;
/* rgb */ color: rgb(90, 113, 238);
/* oklch */ color: oklch(59.8% 0.189 271.7);
Tailwind
colors: {
  custom: {
    50: '#9699f4',
    500: '#5a71ee',
    950: '#000000',
  },
}
SCSS
$custom: #5a71ee;
$custom-light: #9699f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a71ee",
  "rgb": {
    "r": 90,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 230.676,
    "s": 81.319,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59756,
    "c": 0.18872,
    "h": 271.7
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#5A71EE
secondary
#ECE4B8
accent
#BC08DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5A71EE

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

Preview Lab → · Contrast checker → · Palette generator →

#5A71EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva