#5A71DA#5A71DA

#5A71DA is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.4% C 0.162 H 271.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5A71DA
RGBrgb(90, 113, 218)
HSLhsl(229, 63%, 60%)
HSVhsv(229, 59%, 85%)
CMYKcmyk(58.7%, 48.2%, 0%, 14.5%)
CIE-LABlab(50.74, 22.88, -56.55)
CIE-LCHlch(50.74, 61.00, 292.03°)
OKLaboklab(58.39% 0.0037 -0.1616)
OKLCHoklch(58.39% 0.162 271.3)
XYZxyz(22.7723, 19.0441, 68.7919)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A71DA #DAC35A
analogous
#5AB1DA #5A71DA #835ADA
triadic
#5A71DA #DA5A71 #71DA5A
tetradic
#5A71DA #DA5AB1 #DAC35A #5ADA83
square
#5A71DA #DA5AB1 #DAC35A #5ADA83
split-complementary
#5A71DA #DA835A #B1DA5A
monochromatic
#223798 #2D49CA #5A71DA #8C9CE5 #BEC7F0

Accessibility & contrast

On white

4.37
#5A71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5A71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A71DA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A71DA#FFFFFF#000000##000000
##5A71DA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDE
Deuteranopia (green-blind)
#2773D8
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5a71da;
/* rgb */ color: rgb(90, 113, 218);
/* oklch */ color: oklch(58.4% 0.162 271.3);
Tailwind
colors: {
  custom: {
    50: '#9399e6',
    500: '#5a71da',
    950: '#000000',
  },
}
SCSS
$custom: #5a71da;
$custom-light: #9399e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5a71da",
  "rgb": {
    "r": 90,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 229.219,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58386,
    "c": 0.16163,
    "h": 271.3
  },
  "luminance": 0.19046
}

Semantic roles & 50–950 ramp

primary
#5A71DA
secondary
#E0D8AF
accent
#AB1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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