#5A71FF#5A71FF

#5A71FF is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.0% C 0.211 H 271.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5A71FF
RGBrgb(90, 113, 255)
HSLhsl(232, 100%, 68%)
HSVhsv(232, 65%, 100%)
CMYKcmyk(64.7%, 55.7%, 0%, 0%)
CIE-LABlab(53.17, 35.20, -73.31)
CIE-LCHlch(53.17, 81.33, 295.65°)
OKLaboklab(60.99% 0.0063 -0.2109)
OKLCHoklch(60.99% 0.211 271.7)
XYZxyz(28.1655, 21.2014, 97.1963)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A71FF #FFE85A
analogous
#5AC4FF #5A71FF #955AFF
triadic
#5A71FF #FF5A71 #71FF5A
tetradic
#5A71FF #FF5AC4 #FFE85A #5AFF95
square
#5A71FF #FF5AC4 #FFE85A #5AFF95
split-complementary
#5A71FF #FF955A #C4FF5A
monochromatic
#001FDF #1D3CFF #5A71FF #97A6FF #D4DAFF

Accessibility & contrast

On white

4.01
#5A71FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#5A71FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A71FF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A71FF#FFFFFF#000000##000000
##5A71FF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0078FC
Tritanopia (blue-blind)
#0093AD
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5a71ff;
/* rgb */ color: rgb(90, 113, 255);
/* oklch */ color: oklch(61.0% 0.211 271.7);
Tailwind
colors: {
  custom: {
    50: '#9999ff',
    500: '#5a71ff',
    950: '#000000',
  },
}
SCSS
$custom: #5a71ff;
$custom-light: #9999ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5a71ff",
  "rgb": {
    "r": 90,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 231.636,
    "s": 100,
    "l": 67.647
  },
  "oklch": {
    "l": 0.6099,
    "c": 0.21101,
    "h": 271.7
  },
  "luminance": 0.21204
}

Semantic roles & 50–950 ramp

primary
#5A71FF
secondary
#F4EDC1
accent
#C600E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E18
muted
#7F7E86

Preview Lab

Preview with #5A71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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