#5E71CC#5E71CC

#5E71CC is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.7% C 0.141 H 272.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5E71CC
RGBrgb(94, 113, 204)
HSLhsl(230, 52%, 58%)
HSVhsv(230, 54%, 80%)
CMYKcmyk(53.9%, 44.6%, 0%, 20%)
CIE-LABlab(50.15, 19.11, -49.51)
CIE-LCHlch(50.15, 53.07, 291.10°)
OKLaboklab(57.74% 0.0059 -0.1408)
OKLCHoklch(57.74% 0.141 272.4)
XYZxyz(21.4168, 18.5481, 59.5666)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71CC #CCB95E
analogous
#5EA8CC #5E71CC #825ECC
triadic
#5E71CC #CC5E71 #71CC5E
tetradic
#5E71CC #CC5EA8 #CCB95E #5ECC82
square
#5E71CC #CC5EA8 #CCB95E #5ECC82
split-complementary
#5E71CC #CC825E #A8CC5E
monochromatic
#2A3A85 #394EB4 #5E71CC #8C9ADB #BBC3E9

Accessibility & contrast

On white

4.46
#5E71CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5E71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71CC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71CC#FFFFFF#000000##000000
##5E71CC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#278594
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5e71cc;
/* rgb */ color: rgb(94, 113, 204);
/* oklch */ color: oklch(57.7% 0.141 272.4);
Tailwind
colors: {
  custom: {
    50: '#9399dc',
    500: '#5e71cc',
    950: '#000000',
  },
}
SCSS
$custom: #5e71cc;
$custom-light: #9399dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71cc",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 229.636,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57738,
    "c": 0.14096,
    "h": 272.4
  },
  "luminance": 0.1855
}

Semantic roles & 50–950 ramp

primary
#5E71CC
secondary
#D9D1AD
accent
#C34CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5E71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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