#5E71BC#5E71BC

#5E71BC is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.8% C 0.118 H 271.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5E71BC
RGBrgb(94, 113, 188)
HSLhsl(228, 41%, 55%)
HSVhsv(228, 50%, 74%)
CMYKcmyk(50%, 39.9%, 0%, 26.3%)
CIE-LABlab(49.28, 14.01, -41.73)
CIE-LCHlch(49.28, 44.02, 288.56°)
OKLaboklab(56.78% 0.003 -0.118)
OKLCHoklch(56.78% 0.118 271.5)
XYZxyz(19.5954, 17.8195, 49.9742)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71BC #BCA95E
analogous
#5EA0BC #5E71BC #7A5EBC
triadic
#5E71BC #BC5E71 #71BC5E
tetradic
#5E71BC #BC5EA0 #BCA95E #5EBC7A
square
#5E71BC #BC5EA0 #BCA95E #5EBC7A
split-complementary
#5E71BC #BC7A5E #A0BC5E
monochromatic
#2F3C71 #41539C #5E71BC #8997CE #B4BDE0

Accessibility & contrast

On white

4.60
#5E71BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#5E71BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E71BC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71BC#FFFFFF#000000##FFFFFF
##5E71BC1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BF
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#37818D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e71bc;
/* rgb */ color: rgb(94, 113, 188);
/* oklch */ color: oklch(56.8% 0.118 271.5);
Tailwind
colors: {
  custom: {
    50: '#9199d0',
    500: '#5e71bc',
    950: '#000000',
  },
}
SCSS
$custom: #5e71bc;
$custom-light: #9199d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71bc",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 227.872,
    "s": 41.228,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56781,
    "c": 0.11808,
    "h": 271.5
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#5E71BC
secondary
#CFC7A7
accent
#B857D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5E71BC

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

Preview Lab → · Contrast checker → · Palette generator →

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