#5D71F4#5D71F4

#5D71F4 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.196 H 272.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5D71F4
RGBrgb(93, 113, 244)
HSLhsl(232, 87%, 66%)
HSVhsv(232, 62%, 96%)
CMYKcmyk(61.9%, 53.7%, 0%, 4.3%)
CIE-LABlab(52.58, 32.02, -68.16)
CIE-LCHlch(52.58, 75.30, 295.17°)
OKLaboklab(60.36% 0.0089 -0.1957)
OKLCHoklch(60.36% 0.196 272.6)
XYZxyz(26.7430, 20.6668, 88.1502)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71F4 #F4E05D
analogous
#5DBCF4 #5D71F4 #945DF4
triadic
#5D71F4 #F45D71 #71F45D
tetradic
#5D71F4 #F45DBC #F4E05D #5DF494
square
#5D71F4 #F45DBC #F4E05D #5DF494
split-complementary
#5D71F4 #F4945D #BCF45D
monochromatic
#0E26C9 #243FF0 #5D71F4 #96A3F8 #D0D5FC

Accessibility & contrast

On white

4.09
#5D71F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5D71F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71F4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71F4#FFFFFF#000000##000000
##5D71F41.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1084F9
Deuteranopia (green-blind)
#0077F1
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d71f4;
/* rgb */ color: rgb(93, 113, 244);
/* oklch */ color: oklch(60.4% 0.196 272.6);
Tailwind
colors: {
  custom: {
    50: '#9999f9',
    500: '#5d71f4',
    950: '#000000',
  },
}
SCSS
$custom: #5d71f4;
$custom-light: #9999f9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71f4",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 232.053,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60357,
    "c": 0.19587,
    "h": 272.6
  },
  "luminance": 0.20669
}

Semantic roles & 50–950 ramp

primary
#5D71F4
secondary
#EFE9BE
accent
#C602E4
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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