#5D71E3#5D71E3

#5D71E3 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.2% C 0.173 H 272.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5D71E3
RGBrgb(93, 113, 227)
HSLhsl(231, 71%, 63%)
HSVhsv(231, 59%, 89%)
CMYKcmyk(59%, 50.2%, 0%, 11%)
CIE-LABlab(51.48, 26.41, -60.43)
CIE-LCHlch(51.48, 65.95, 293.61°)
OKLaboklab(59.17% 0.0077 -0.1729)
OKLCHoklch(59.17% 0.173 272.5)
XYZxyz(24.2799, 19.6816, 75.1776)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71E3 #E3CF5D
analogous
#5DB4E3 #5D71E3 #8C5DE3
triadic
#5D71E3 #E35D71 #71E35D
tetradic
#5D71E3 #E35DB4 #E3CF5D #5DE38C
square
#5D71E3 #E35DB4 #E3CF5D #5DE38C
split-complementary
#5D71E3 #E38C5D #B4E35D
monochromatic
#1D32A8 #2943DA #5D71E3 #919FEC #C5CCF5

Accessibility & contrast

On white

4.25
#5D71E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5D71E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71E3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71E3#FFFFFF#000000##000000
##5D71E31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3381E7
Deuteranopia (green-blind)
#1475E1
Tritanopia (blue-blind)
#008B9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d71e3;
/* rgb */ color: rgb(93, 113, 227);
/* oklch */ color: oklch(59.2% 0.173 272.5);
Tailwind
colors: {
  custom: {
    50: '#9699ec',
    500: '#5d71e3',
    950: '#000000',
  },
}
SCSS
$custom: #5d71e3;
$custom-light: #9699ec;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71e3",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 231.045,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5917,
    "c": 0.17312,
    "h": 272.5
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#5D71E3
secondary
#E6DFB6
accent
#B613D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5D71E3

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

Preview Lab → · Contrast checker → · Palette generator →

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