#5E71CB#5E71CB

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

Color values

HEX#5E71CB
RGBrgb(94, 113, 203)
HSLhsl(230, 51%, 58%)
HSVhsv(230, 54%, 80%)
CMYKcmyk(53.7%, 44.3%, 0%, 20.4%)
CIE-LABlab(50.10, 18.79, -49.03)
CIE-LCHlch(50.10, 52.51, 290.97°)
OKLaboklab(57.68% 0.0058 -0.1394)
OKLCHoklch(57.68% 0.14 272.4)
XYZxyz(21.2972, 18.5003, 58.9370)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E71CB #CBB85E
analogous
#5EA8CB #5E71CB #815ECB
triadic
#5E71CB #CB5E71 #71CB5E
tetradic
#5E71CB #CB5EA8 #CBB85E #5ECB81
square
#5E71CB #CB5EA8 #CBB85E #5ECB81
split-complementary
#5E71CB #CB815E #A8CB5E
monochromatic
#2B3A84 #3A4FB2 #5E71CB #8C9ADA #BBC3E9

Accessibility & contrast

On white

4.47
#5E71CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#5E71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E71CB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E71CB#FFFFFF#000000##000000
##5E71CB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCE
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#288594
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5e71cb;
/* rgb */ color: rgb(94, 113, 203);
/* oklch */ color: oklch(57.7% 0.140 272.4);
Tailwind
colors: {
  custom: {
    50: '#9399db',
    500: '#5e71cb',
    950: '#000000',
  },
}
SCSS
$custom: #5e71cb;
$custom-light: #9399db;
$custom-dark: #000000;
JSON
{
  "hex": "#5e71cb",
  "rgb": {
    "r": 94,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 229.541,
    "s": 51.174,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57676,
    "c": 0.13955,
    "h": 272.4
  },
  "luminance": 0.18502
}

Semantic roles & 50–950 ramp

primary
#5E71CB
secondary
#D8D1AD
accent
#C24DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5E71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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