#5E71D7#5E71D7

#5E71D7 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.156 H 272.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5E71D7
RGBrgb(94, 113, 215)
HSLhsl(231, 60%, 61%)
HSVhsv(231, 56%, 84%)
CMYKcmyk(56.3%, 47.4%, 0%, 15.7%)
CIE-LABlab(50.80, 22.67, -54.74)
CIE-LCHlch(50.80, 59.25, 292.50°)
OKLaboklab(58.44% 0.0075 -0.1562)
OKLCHoklch(58.44% 0.156 272.7)
XYZxyz(22.7830, 19.0946, 66.7619)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71D7 #D7C45E
analogous
#5EADD7 #5E71D7 #885ED7
triadic
#5E71D7 #D75E71 #71D75E
tetradic
#5E71D7 #D75EAD #D7C45E #5ED788
square
#5E71D7 #D75EAD #D7C45E #5ED788
split-complementary
#5E71D7 #D7885E #ADD75E
monochromatic
#253795 #3149C6 #5E71D7 #8F9CE3 #C0C7EF

Accessibility & contrast

On white

4.36
#5E71D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5E71D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71D7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71D7#FFFFFF#000000##000000
##5E71D71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#407EDB
Deuteranopia (green-blind)
#2F74D5
Tritanopia (blue-blind)
#13889A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e71d7;
/* rgb */ color: rgb(94, 113, 215);
/* oklch */ color: oklch(58.4% 0.156 272.7);
Tailwind
colors: {
  custom: {
    50: '#9599e4',
    500: '#5e71d7',
    950: '#000000',
  },
}
SCSS
$custom: #5e71d7;
$custom-light: #9599e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71d7",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 230.579,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58436,
    "c": 0.15637,
    "h": 272.7
  },
  "luminance": 0.19096
}

Semantic roles & 50–950 ramp

primary
#5E71D7
secondary
#DFD8B1
accent
#AD1EC8
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5E71D7

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

Preview Lab → · Contrast checker → · Palette generator →

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