#5D71F0#5D71F0

#5D71F0 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.1% C 0.191 H 272.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5D71F0
RGBrgb(93, 113, 240)
HSLhsl(232, 83%, 65%)
HSVhsv(232, 61%, 94%)
CMYKcmyk(61.2%, 52.9%, 0%, 5.9%)
CIE-LABlab(52.32, 30.70, -66.36)
CIE-LCHlch(52.32, 73.12, 294.83°)
OKLaboklab(60.07% 0.0087 -0.1904)
OKLCHoklch(60.07% 0.191 272.6)
XYZxyz(26.1423, 20.4265, 84.9863)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71F0 #F0DC5D
analogous
#5DBAF0 #5D71F0 #935DF0
triadic
#5D71F0 #F05D71 #71F05D
tetradic
#5D71F0 #F05DBA #F0DC5D #5DF093
square
#5D71F0 #F05DBA #F0DC5D #5DF093
split-complementary
#5D71F0 #F0935D #BAF05D
monochromatic
#122AC1 #2540EB #5D71F0 #95A2F5 #CDD3FA

Accessibility & contrast

On white

4.13
#5D71F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5D71F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71F0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71F0#FFFFFF#000000##000000
##5D71F01.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D83F4
Deuteranopia (green-blind)
#0077ED
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d71f0;
/* rgb */ color: rgb(93, 113, 240);
/* oklch */ color: oklch(60.1% 0.191 272.6);
Tailwind
colors: {
  custom: {
    50: '#9899f6',
    500: '#5d71f0',
    950: '#000000',
  },
}
SCSS
$custom: #5d71f0;
$custom-light: #9899f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71f0",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 231.837,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60072,
    "c": 0.19059,
    "h": 272.6
  },
  "luminance": 0.20429
}

Semantic roles & 50–950 ramp

primary
#5D71F0
secondary
#EDE6BC
accent
#C206DF
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D71F0

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

Preview Lab → · Contrast checker → · Palette generator →

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