#5A71CA#5A71CA

#5A71CA is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.139 H 270.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5A71CA
RGBrgb(90, 113, 202)
HSLhsl(228, 51%, 57%)
HSVhsv(228, 55%, 79%)
CMYKcmyk(55.4%, 44.1%, 0%, 20.8%)
CIE-LABlab(49.79, 17.61, -48.96)
CIE-LCHlch(49.79, 52.03, 289.78°)
OKLaboklab(57.36% 0.0014 -0.1393)
OKLCHoklch(57.36% 0.139 270.6)
XYZxyz(20.7787, 18.2467, 58.2927)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A71CA #CAB35A
analogous
#5AA9CA #5A71CA #7B5ACA
triadic
#5A71CA #CA5A71 #71CA5A
tetradic
#5A71CA #CA5AA9 #CAB35A #5ACA7B
square
#5A71CA #CA5AA9 #CAB35A #5ACA7B
split-complementary
#5A71CA #CA7B5A #A9CA5A
monochromatic
#293B80 #3850AF #5A71CA #8899D9 #B7C1E8

Accessibility & contrast

On white

4.52
#5A71CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5A71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A71CA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A71CA#FFFFFF#000000##000000
##5A71CA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCD
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#1A8594
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5a71ca;
/* rgb */ color: rgb(90, 113, 202);
/* oklch */ color: oklch(57.4% 0.139 270.6);
Tailwind
colors: {
  custom: {
    50: '#9199da',
    500: '#5a71ca',
    950: '#000000',
  },
}
SCSS
$custom: #5a71ca;
$custom-light: #9199da;
$custom-dark: #000000;
JSON
{
  "hex": "#5a71ca",
  "rgb": {
    "r": 90,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 227.679,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57361,
    "c": 0.13931,
    "h": 270.6
  },
  "luminance": 0.18248
}

Semantic roles & 50–950 ramp

primary
#5A71CA
secondary
#D7CDA9
accent
#BE4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5A71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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