#5D71DF#5D71DF

#5D71DF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.9% C 0.168 H 272.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#5D71DF
RGBrgb(93, 113, 223)
HSLhsl(231, 67%, 62%)
HSVhsv(231, 58%, 87%)
CMYKcmyk(58.3%, 49.3%, 0%, 12.5%)
CIE-LABlab(51.22, 25.10, -58.58)
CIE-LCHlch(51.22, 63.73, 293.19°)
OKLaboklab(58.9% 0.0073 -0.1675)
OKLCHoklch(58.9% 0.168 272.5)
XYZxyz(23.7342, 19.4633, 72.3038)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71DF #DFCB5D
analogous
#5DB2DF #5D71DF #8A5DDF
triadic
#5D71DF #DF5D71 #71DF5D
tetradic
#5D71DF #DF5DB2 #DFCB5D #5DDF8A
square
#5D71DF #DF5DB2 #DFCB5D #5DDF8A
split-complementary
#5D71DF #DF8A5D #B2DF5D
monochromatic
#2034A2 #2A44D5 #5D71DF #909EE9 #C3CBF3

Accessibility & contrast

On white

4.29
#5D71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#5D71DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71DF#FFFFFF#000000##000000
##5D71DF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3880E3
Deuteranopia (green-blind)
#2075DD
Tritanopia (blue-blind)
#008A9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d71df;
/* rgb */ color: rgb(93, 113, 223);
/* oklch */ color: oklch(58.9% 0.168 272.5);
Tailwind
colors: {
  custom: {
    50: '#9599ea',
    500: '#5d71df',
    950: '#000000',
  },
}
SCSS
$custom: #5d71df;
$custom-light: #9599ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71df",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 230.769,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58901,
    "c": 0.16767,
    "h": 272.5
  },
  "luminance": 0.19465
}

Semantic roles & 50–950 ramp

primary
#5D71DF
secondary
#E4DCB4
accent
#B317CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5D71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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