#5E71DC#5E71DC

#5E71DC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.163 H 272.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#5E71DC
RGBrgb(94, 113, 220)
HSLhsl(231, 64%, 62%)
HSVhsv(231, 57%, 86%)
CMYKcmyk(57.3%, 48.6%, 0%, 13.7%)
CIE-LABlab(51.10, 24.30, -57.09)
CIE-LCHlch(51.10, 62.04, 293.06°)
OKLaboklab(58.76% 0.008 -0.1631)
OKLCHoklch(58.76% 0.163 272.8)
XYZxyz(23.4353, 19.3555, 70.1973)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71DC #DCC95E
analogous
#5EB0DC #5E71DC #8A5EDC
triadic
#5E71DC #DC5E71 #71DC5E
tetradic
#5E71DC #DC5EB0 #DCC95E #5EDC8A
square
#5E71DC #DC5EB0 #DCC95E #5EDC8A
split-complementary
#5E71DC #DC8A5E #B0DC5E
monochromatic
#22359D #2D46D0 #5E71DC #909DE7 #C3CAF2

Accessibility & contrast

On white

4.31
#5E71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#5E71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71DC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71DC#FFFFFF#000000##000000
##5E71DC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FE0
Deuteranopia (green-blind)
#2775DA
Tritanopia (blue-blind)
#00899C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e71dc;
/* rgb */ color: rgb(94, 113, 220);
/* oklch */ color: oklch(58.8% 0.163 272.8);
Tailwind
colors: {
  custom: {
    50: '#9599e7',
    500: '#5e71dc',
    950: '#000000',
  },
}
SCSS
$custom: #5e71dc;
$custom-light: #9599e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71dc",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 230.952,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58763,
    "c": 0.16328,
    "h": 272.8
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

primary
#5E71DC
secondary
#E2DBB3
accent
#B119CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5E71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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