#5E71BE#5E71BE

#5E71BE is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.9% C 0.121 H 271.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#5E71BE
RGBrgb(94, 113, 190)
HSLhsl(228, 42%, 56%)
HSVhsv(228, 51%, 75%)
CMYKcmyk(50.5%, 40.5%, 0%, 25.5%)
CIE-LABlab(49.38, 14.64, -42.71)
CIE-LCHlch(49.38, 45.15, 288.92°)
OKLaboklab(56.9% 0.0034 -0.1209)
OKLCHoklch(56.9% 0.121 271.6)
XYZxyz(19.8125, 17.9064, 51.1175)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71BE #BEAB5E
analogous
#5EA1BE #5E71BE #7B5EBE
triadic
#5E71BE #BE5E71 #71BE5E
tetradic
#5E71BE #BE5EA1 #BEAB5E #5EBE7B
square
#5E71BE #BE5EA1 #BEAB5E #5EBE7B
split-complementary
#5E71BE #BE7B5E #A1BE5E
monochromatic
#2E3C73 #40539F #5E71BE #8A97D0 #B5BEE1

Accessibility & contrast

On white

4.58
#5E71BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#5E71BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71BE
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71BE#FFFFFF#000000##000000
##5E71BE1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC1
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#35818E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5e71be;
/* rgb */ color: rgb(94, 113, 190);
/* oklch */ color: oklch(56.9% 0.121 271.6);
Tailwind
colors: {
  custom: {
    50: '#9199d2',
    500: '#5e71be',
    950: '#000000',
  },
}
SCSS
$custom: #5e71be;
$custom-light: #9199d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71be",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 190
  },
  "hsl": {
    "h": 228.125,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56897,
    "c": 0.12097,
    "h": 271.6
  },
  "luminance": 0.17908
}

Semantic roles & 50–950 ramp

primary
#5E71BE
secondary
#D0C8A8
accent
#BA56D2
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5E71BE

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

Preview Lab → · Contrast checker → · Palette generator →

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