#5E71DB#5E71DB

#5E71DB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.7% C 0.162 H 272.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5E71DB
RGBrgb(94, 113, 219)
HSLhsl(231, 63%, 61%)
HSVhsv(231, 57%, 86%)
CMYKcmyk(57.1%, 48.4%, 0%, 14.1%)
CIE-LABlab(51.04, 23.98, -56.62)
CIE-LCHlch(51.04, 61.49, 292.95°)
OKLaboklab(58.7% 0.0079 -0.1617)
OKLCHoklch(58.7% 0.162 272.8)
XYZxyz(23.3032, 19.3027, 69.5019)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71DB #DBC85E
analogous
#5EB0DB #5E71DB #8A5EDB
triadic
#5E71DB #DB5E71 #71DB5E
tetradic
#5E71DB #DB5EB0 #DBC85E #5EDB8A
square
#5E71DB #DB5EB0 #DBC85E #5EDB8A
split-complementary
#5E71DB #DB8A5E #B0DB5E
monochromatic
#23359C #2E46CE #5E71DB #909DE6 #C2C9F1

Accessibility & contrast

On white

4.32
#5E71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5E71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71DB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71DB#FFFFFF#000000##000000
##5E71DB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#2974D9
Tritanopia (blue-blind)
#04899B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e71db;
/* rgb */ color: rgb(94, 113, 219);
/* oklch */ color: oklch(58.7% 0.162 272.8);
Tailwind
colors: {
  custom: {
    50: '#9599e7',
    500: '#5e71db',
    950: '#000000',
  },
}
SCSS
$custom: #5e71db;
$custom-light: #9599e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71db",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 230.88,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58697,
    "c": 0.1619,
    "h": 272.8
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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