#5D71CA#5D71CA

#5D71CA is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.138 H 271.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#5D71CA
RGBrgb(93, 113, 202)
HSLhsl(229, 51%, 58%)
HSVhsv(229, 54%, 79%)
CMYKcmyk(54%, 44.1%, 0%, 20.8%)
CIE-LABlab(49.98, 18.25, -48.66)
CIE-LCHlch(49.98, 51.97, 290.56°)
OKLaboklab(57.55% 0.0046 -0.1383)
OKLCHoklch(57.55% 0.138 271.9)
XYZxyz(21.0765, 18.4002, 58.3066)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71CA #CAB65D
analogous
#5DA7CA #5D71CA #7F5DCA
triadic
#5D71CA #CA5D71 #71CA5D
tetradic
#5D71CA #CA5DA7 #CAB65D #5DCA7F
square
#5D71CA #CA5DA7 #CAB65D #5DCA7F
split-complementary
#5D71CA #CA7F5D #A7CA5D
monochromatic
#2B3B82 #3A4FB0 #5D71CA #8B99D9 #B9C2E8

Accessibility & contrast

On white

4.49
#5D71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#5D71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71CA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71CA#FFFFFF#000000##000000
##5D71CA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7CCD
Deuteranopia (green-blind)
#3E72C8
Tritanopia (blue-blind)
#268494
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5d71ca;
/* rgb */ color: rgb(93, 113, 202);
/* oklch */ color: oklch(57.6% 0.138 271.9);
Tailwind
colors: {
  custom: {
    50: '#9299da',
    500: '#5d71ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d71ca;
$custom-light: #9299da;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71ca",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 228.991,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5755,
    "c": 0.13841,
    "h": 271.9
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#5D71CA
secondary
#D7CFAC
accent
#C04EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5D71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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