#5E71BF#5E71BF

#5E71BF is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.0% C 0.122 H 271.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5E71BF
RGBrgb(94, 113, 191)
HSLhsl(228, 43%, 56%)
HSVhsv(228, 51%, 75%)
CMYKcmyk(50.8%, 40.8%, 0%, 25.1%)
CIE-LABlab(49.44, 14.96, -43.20)
CIE-LCHlch(49.44, 45.72, 289.10°)
OKLaboklab(56.96% 0.0036 -0.1223)
OKLCHoklch(56.96% 0.122 271.7)
XYZxyz(19.9222, 17.9503, 51.6951)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71BF #BFAC5E
analogous
#5EA1BF #5E71BF #7B5EBF
triadic
#5E71BF #BF5E71 #71BF5E
tetradic
#5E71BF #BF5EA1 #BFAC5E #5EBF7B
square
#5E71BF #BF5EA1 #BFAC5E #5EBF7B
split-complementary
#5E71BF #BF7B5E #A1BF5E
monochromatic
#2E3C74 #4053A0 #5E71BF #8A98D0 #B6BEE2

Accessibility & contrast

On white

4.57
#5E71BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5E71BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71BF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71BF#FFFFFF#000000##000000
##5E71BF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC2
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#34828F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e71bf;
/* rgb */ color: rgb(94, 113, 191);
/* oklch */ color: oklch(57.0% 0.122 271.7);
Tailwind
colors: {
  custom: {
    50: '#9199d3',
    500: '#5e71bf',
    950: '#000000',
  },
}
SCSS
$custom: #5e71bf;
$custom-light: #9199d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71bf",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 228.247,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56955,
    "c": 0.1224,
    "h": 271.7
  },
  "luminance": 0.17952
}

Semantic roles & 50–950 ramp

primary
#5E71BF
secondary
#D0C9A8
accent
#BA55D3
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0D14
muted
#7E7E83

Preview Lab

Preview with #5E71BF

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

Preview Lab → · Contrast checker → · Palette generator →

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