#5D71F1#5D71F1

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

Color values

HEX#5D71F1
RGBrgb(93, 113, 241)
HSLhsl(232, 84%, 65%)
HSVhsv(232, 61%, 95%)
CMYKcmyk(61.4%, 53.1%, 0%, 5.5%)
CIE-LABlab(52.38, 31.03, -66.81)
CIE-LCHlch(52.38, 73.66, 294.91°)
OKLaboklab(60.14% 0.0087 -0.1917)
OKLCHoklch(60.14% 0.192 272.6)
XYZxyz(26.2912, 20.4861, 85.7708)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D71F1 #F1DD5D
analogous
#5DBBF1 #5D71F1 #935DF1
triadic
#5D71F1 #F15D71 #71F15D
tetradic
#5D71F1 #F15DBB #F1DD5D #5DF193
square
#5D71F1 #F15DBB #F1DD5D #5DF193
split-complementary
#5D71F1 #F1935D #BBF15D
monochromatic
#1129C3 #2540EC #5D71F1 #95A2F6 #CED4FB

Accessibility & contrast

On white

4.12
#5D71F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5D71F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D71F1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D71F1#FFFFFF#000000##000000
##5D71F11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d71f1;
/* rgb */ color: rgb(93, 113, 241);
/* oklch */ color: oklch(60.1% 0.192 272.6);
Tailwind
colors: {
  custom: {
    50: '#9899f6',
    500: '#5d71f1',
    950: '#000000',
  },
}
SCSS
$custom: #5d71f1;
$custom-light: #9899f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d71f1",
  "rgb": {
    "r": 93,
    "g": 113,
    "b": 241
  },
  "hsl": {
    "h": 231.892,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.60143,
    "c": 0.19191,
    "h": 272.6
  },
  "luminance": 0.20488
}

Semantic roles & 50–950 ramp

primary
#5D71F1
secondary
#EEE7BC
accent
#C305E1
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5D71F1

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

Preview Lab → · Contrast checker → · Palette generator →

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