#5D71DB#5D71DB

#5D71DB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.6% C 0.162 H 272.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5D71DB
RGBrgb(93, 113, 219)
HSLhsl(230, 64%, 61%)
HSVhsv(230, 58%, 86%)
CMYKcmyk(57.5%, 48.4%, 0%, 14.1%)
CIE-LABlab(50.98, 23.78, -56.72)
CIE-LCHlch(50.98, 61.50, 292.75°)
OKLaboklab(58.64% 0.0069 -0.162)
OKLCHoklch(58.64% 0.162 272.4)
XYZxyz(23.2013, 19.2501, 69.4971)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71DB #DBC75D
analogous
#5DB0DB #5D71DB #885DDB
triadic
#5D71DB #DB5D71 #71DB5D
tetradic
#5D71DB #DB5DB0 #DBC75D #5DDB88
square
#5D71DB #DB5DB0 #DBC75D #5DDB88
split-complementary
#5D71DB #DB885D #B0DB5D
monochromatic
#22369B #2E47CD #5D71DB #8F9DE6 #C1C9F1

Accessibility & contrast

On white

4.33
#5D71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5D71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71DB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71DB#FFFFFF#000000##000000
##5D71DB1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#2874D9
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d71db;
/* rgb */ color: rgb(93, 113, 219);
/* oklch */ color: oklch(58.6% 0.162 272.4);
Tailwind
colors: {
  custom: {
    50: '#9599e7',
    500: '#5d71db',
    950: '#000000',
  },
}
SCSS
$custom: #5d71db;
$custom-light: #9599e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71db",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 230.476,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58635,
    "c": 0.16218,
    "h": 272.4
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#5D71DB
secondary
#E2DAB2
accent
#AF1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5D71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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