#5E71E8#5E71E8

#5E71E8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.180 H 272.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5E71E8
RGBrgb(94, 113, 232)
HSLhsl(232, 75%, 64%)
HSVhsv(232, 59%, 91%)
CMYKcmyk(59.5%, 51.3%, 0%, 9%)
CIE-LABlab(51.85, 28.24, -62.63)
CIE-LCHlch(51.85, 68.70, 294.27°)
OKLaboklab(59.57% 0.0091 -0.1794)
OKLCHoklch(59.57% 0.18 272.9)
XYZxyz(25.0819, 20.0141, 78.8697)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71E8 #E8D55E
analogous
#5EB6E8 #5E71E8 #905EE8
triadic
#5E71E8 #E85E71 #71E85E
tetradic
#5E71E8 #E85EB6 #E8D55E #5EE890
square
#5E71E8 #E85EB6 #E8D55E #5EE890
split-complementary
#5E71E8 #E8905E #B6E85E
monochromatic
#192EB2 #2842E0 #5E71E8 #94A0F0 #C9CFF7

Accessibility & contrast

On white

4.20
#5E71E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5E71E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71E8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71E8#FFFFFF#000000##000000
##5E71E81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C82EC
Deuteranopia (green-blind)
#0076E6
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e71e8;
/* rgb */ color: rgb(94, 113, 232);
/* oklch */ color: oklch(59.6% 0.180 272.9);
Tailwind
colors: {
  custom: {
    50: '#9799f0',
    500: '#5e71e8',
    950: '#000000',
  },
}
SCSS
$custom: #5e71e8;
$custom-light: #9799f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71e8",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 231.739,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59573,
    "c": 0.17962,
    "h": 272.9
  },
  "luminance": 0.20016
}

Semantic roles & 50–950 ramp

primary
#5E71E8
secondary
#E9E2B9
accent
#BC0ED7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D17
muted
#7E7E85

Preview Lab

Preview with #5E71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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