#5E71DF#5E71DF

#5E71DF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.167 H 272.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5E71DF
RGBrgb(94, 113, 223)
HSLhsl(231, 67%, 62%)
HSVhsv(231, 58%, 87%)
CMYKcmyk(57.8%, 49.3%, 0%, 12.5%)
CIE-LABlab(51.29, 25.29, -58.48)
CIE-LCHlch(51.29, 63.71, 293.38°)
OKLaboklab(58.96% 0.0083 -0.1672)
OKLCHoklch(58.96% 0.167 272.9)
XYZxyz(23.8361, 19.5158, 72.3086)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71DF #DFCC5E
analogous
#5EB1DF #5E71DF #8C5EDF
triadic
#5E71DF #DF5E71 #71DF5E
tetradic
#5E71DF #DF5EB1 #DFCC5E #5EDF8C
square
#5E71DF #DF5EB1 #DFCC5E #5EDF8C
split-complementary
#5E71DF #DF8C5E #B1DF5E
monochromatic
#2033A2 #2B44D5 #5E71DF #919EE9 #C4CBF3

Accessibility & contrast

On white

4.28
#5E71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5E71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71DF#FFFFFF#000000##000000
##5E71DF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#2175DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e71df;
/* rgb */ color: rgb(94, 113, 223);
/* oklch */ color: oklch(59.0% 0.167 272.9);
Tailwind
colors: {
  custom: {
    50: '#9699ea',
    500: '#5e71df',
    950: '#000000',
  },
}
SCSS
$custom: #5e71df;
$custom-light: #9699ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71df",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 231.163,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58962,
    "c": 0.1674,
    "h": 272.9
  },
  "luminance": 0.19518
}

Semantic roles & 50–950 ramp

primary
#5E71DF
secondary
#E4DDB5
accent
#B417CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5E71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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