#5F71DE#5F71DE

#5F71DE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.166 H 273.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5F71DE
RGBrgb(95, 113, 222)
HSLhsl(231, 66%, 62%)
HSVhsv(231, 57%, 87%)
CMYKcmyk(57.2%, 49.1%, 0%, 12.9%)
CIE-LABlab(51.28, 25.15, -57.92)
CIE-LCHlch(51.28, 63.14, 293.47°)
OKLaboklab(58.96% 0.0093 -0.1655)
OKLCHoklch(58.96% 0.166 273.2)
XYZxyz(23.8049, 19.5153, 71.6055)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F71DE #DECC5F
analogous
#5FB1DE #5F71DE #8D5FDE
triadic
#5F71DE #DE5F71 #71DE5F
tetradic
#5F71DE #DE5FB1 #DECC5F #5FDE8D
square
#5F71DE #DE5FB1 #DECC5F #5FDE8D
split-complementary
#5F71DE #DE8D5F #B1DE5F
monochromatic
#2133A1 #2C44D4 #5F71DE #929EE8 #C4CBF3

Accessibility & contrast

On white

4.28
#5F71DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5F71DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F71DE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F71DE#FFFFFF#000000##000000
##5F71DE1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E2
Deuteranopia (green-blind)
#2475DC
Tritanopia (blue-blind)
#018A9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f71de;
/* rgb */ color: rgb(95, 113, 222);
/* oklch */ color: oklch(59.0% 0.166 273.2);
Tailwind
colors: {
  custom: {
    50: '#9699e9',
    500: '#5f71de',
    950: '#000000',
  },
}
SCSS
$custom: #5f71de;
$custom-light: #9699e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f71de",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 231.496,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58958,
    "c": 0.16576,
    "h": 273.2
  },
  "luminance": 0.19517
}

Semantic roles & 50–950 ramp

primary
#5F71DE
secondary
#E4DDB5
accent
#B418CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F71DE

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

Preview Lab → · Contrast checker → · Palette generator →

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