#5E71BB#5E71BB

#5E71BB is a mid, moderate blue. Relative luminance 0.178; OKLCH L 56.7% C 0.117 H 271.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5E71BB
RGBrgb(94, 113, 187)
HSLhsl(228, 41%, 55%)
HSVhsv(228, 50%, 73%)
CMYKcmyk(49.7%, 39.6%, 0%, 26.7%)
CIE-LABlab(49.22, 13.70, -41.23)
CIE-LCHlch(49.22, 43.45, 288.38°)
OKLaboklab(56.72% 0.0028 -0.1166)
OKLCHoklch(56.72% 0.117 271.4)
XYZxyz(19.4880, 17.7766, 49.4084)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71BB #BBA85E
analogous
#5E9FBB #5E71BB #7A5EBB
triadic
#5E71BB #BB5E71 #71BB5E
tetradic
#5E71BB #BB5E9F #BBA85E #5EBB7A
square
#5E71BB #BB5E9F #BBA85E #5EBB7A
split-complementary
#5E71BB #BB7A5E #9FBB5E
monochromatic
#2F3C70 #41549B #5E71BB #8997CD #B4BDDF

Accessibility & contrast

On white

4.61
#5E71BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E71BB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71BB#FFFFFF#000000##FFFFFF
##5E71BB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5479BE
Deuteranopia (green-blind)
#4B71B9
Tritanopia (blue-blind)
#38818D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e71bb;
/* rgb */ color: rgb(94, 113, 187);
/* oklch */ color: oklch(56.7% 0.117 271.4);
Tailwind
colors: {
  custom: {
    50: '#9199d0',
    500: '#5e71bb',
    950: '#000000',
  },
}
SCSS
$custom: #5e71bb;
$custom-light: #9199d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71bb",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 187
  },
  "hsl": {
    "h": 227.742,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56723,
    "c": 0.11662,
    "h": 271.4
  },
  "luminance": 0.17778
}

Semantic roles & 50–950 ramp

primary
#5E71BB
secondary
#CEC6A7
accent
#B857D0
background
#F9F9FC
surface
#F1F2F9
border
#CBCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5E71BB

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

Preview Lab → · Contrast checker → · Palette generator →

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