#5D71C8#5D71C8

#5D71C8 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.4% C 0.136 H 271.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5D71C8
RGBrgb(93, 113, 200)
HSLhsl(229, 49%, 57%)
HSVhsv(229, 54%, 78%)
CMYKcmyk(53.5%, 43.5%, 0%, 21.6%)
CIE-LABlab(49.87, 17.61, -47.69)
CIE-LCHlch(49.87, 50.84, 290.26°)
OKLaboklab(57.43% 0.0042 -0.1355)
OKLCHoklch(57.43% 0.136 271.8)
XYZxyz(20.8413, 18.3061, 57.0676)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71C8 #C8B45D
analogous
#5DA7C8 #5D71C8 #7E5DC8
triadic
#5D71C8 #C85D71 #71C85D
tetradic
#5D71C8 #C85DA7 #C8B45D #5DC87E
square
#5D71C8 #C85DA7 #C8B45D #5DC87E
split-complementary
#5D71C8 #C87E5D #A7C85D
monochromatic
#2B3B7F #3B50AD #5D71C8 #8B99D8 #B8C1E7

Accessibility & contrast

On white

4.50
#5D71C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#5D71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71C8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71C8#FFFFFF#000000##000000
##5D71C81.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7BCB
Deuteranopia (green-blind)
#4072C6
Tritanopia (blue-blind)
#288493
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d71c8;
/* rgb */ color: rgb(93, 113, 200);
/* oklch */ color: oklch(57.4% 0.136 271.8);
Tailwind
colors: {
  custom: {
    50: '#9299d9',
    500: '#5d71c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d71c8;
$custom-light: #9299d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71c8",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 228.785,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57428,
    "c": 0.13559,
    "h": 271.8
  },
  "luminance": 0.18308
}

Semantic roles & 50–950 ramp

primary
#5D71C8
secondary
#D6CEAB
accent
#BF4FD9
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #5D71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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