#5E71CF#5E71CF

#5E71CF is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.9% C 0.145 H 272.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E71CF
RGBrgb(94, 113, 207)
HSLhsl(230, 54%, 59%)
HSVhsv(230, 55%, 81%)
CMYKcmyk(54.6%, 45.4%, 0%, 18.8%)
CIE-LABlab(50.33, 20.08, -50.95)
CIE-LCHlch(50.33, 54.76, 291.51°)
OKLaboklab(57.93% 0.0064 -0.1451)
OKLCHoklch(57.93% 0.145 272.5)
XYZxyz(21.7800, 18.6934, 61.4799)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71CF #CFBC5E
analogous
#5EA9CF #5E71CF #845ECF
triadic
#5E71CF #CF5E71 #71CF5E
tetradic
#5E71CF #CF5EA9 #CFBC5E #5ECF84
square
#5E71CF #CF5EA9 #CFBC5E #5ECF84
split-complementary
#5E71CF #CF845E #A9CF5E
monochromatic
#29398A #374DB9 #5E71CF #8D9BDD #BCC4EB

Accessibility & contrast

On white

4.43
#5E71CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5E71CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71CF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71CF#FFFFFF#000000##000000
##5E71CF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#3973CD
Tritanopia (blue-blind)
#228696
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5e71cf;
/* rgb */ color: rgb(94, 113, 207);
/* oklch */ color: oklch(57.9% 0.145 272.5);
Tailwind
colors: {
  custom: {
    50: '#9499de',
    500: '#5e71cf',
    950: '#000000',
  },
}
SCSS
$custom: #5e71cf;
$custom-light: #9499de;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71cf",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 229.912,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.14519,
    "h": 272.5
  },
  "luminance": 0.18695
}

Semantic roles & 50–950 ramp

primary
#5E71CF
secondary
#DBD3AE
accent
#C54ADD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5E71CF

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

Preview Lab → · Contrast checker → · Palette generator →

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