#5A71BE#5A71BE

#5A71BE is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.6% C 0.122 H 269.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5A71BE
RGBrgb(90, 113, 190)
HSLhsl(226, 43%, 55%)
HSVhsv(226, 53%, 75%)
CMYKcmyk(52.6%, 40.5%, 0%, 25.5%)
CIE-LABlab(49.13, 13.72, -43.13)
CIE-LCHlch(49.13, 45.26, 287.65°)
OKLaboklab(56.64% -0.0007 -0.1222)
OKLCHoklch(56.64% 0.122 269.6)
XYZxyz(19.4128, 17.7003, 51.0988)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A71BE #BEA75A
analogous
#5AA3BE #5A71BE #755ABE
triadic
#5A71BE #BE5A71 #71BE5A
tetradic
#5A71BE #BE5AA3 #BEA75A #5ABE75
square
#5A71BE #BE5AA3 #BEA75A #5ABE75
split-complementary
#5A71BE #BE755A #A3BE5A
monochromatic
#2D3C71 #3E549D #5A71BE #8697CF #B2BDE1

Accessibility & contrast

On white

4.63
#5A71BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5A71BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5A71BE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A71BE#FFFFFF#000000##FFFFFF
##5A71BE1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5279C1
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#2A828E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5a71be;
/* rgb */ color: rgb(90, 113, 190);
/* oklch */ color: oklch(56.6% 0.122 269.6);
Tailwind
colors: {
  custom: {
    50: '#8f99d2',
    500: '#5a71be',
    950: '#000000',
  },
}
SCSS
$custom: #5a71be;
$custom-light: #8f99d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a71be",
  "rgb": {
    "r": 90,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 226.2,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56637,
    "c": 0.12221,
    "h": 269.6
  },
  "luminance": 0.17702
}

Semantic roles & 50–950 ramp

primary
#5A71BE
secondary
#CFC5A5
accent
#B655D3
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5A71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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