#5F71DD#5F71DD

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

Color values

HEX#5F71DD
RGBrgb(95, 113, 221)
HSLhsl(231, 65%, 62%)
HSVhsv(231, 57%, 87%)
CMYKcmyk(57%, 48.9%, 0%, 13.3%)
CIE-LABlab(51.22, 24.82, -57.45)
CIE-LCHlch(51.22, 62.58, 293.37°)
OKLaboklab(58.89% 0.0092 -0.1641)
OKLCHoklch(58.89% 0.164 273.2)
XYZxyz(23.6713, 19.4618, 70.9017)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F71DD #DDCB5F
analogous
#5FB0DD #5F71DD #8C5FDD
triadic
#5F71DD #DD5F71 #71DD5F
tetradic
#5F71DD #DD5FB0 #DDCB5F #5FDD8C
square
#5F71DD #DD5FB0 #DDCB5F #5FDD8C
split-complementary
#5F71DD #DD8C5F #B0DD5F
monochromatic
#2234A0 #2D44D2 #5F71DD #919EE8 #C4CBF2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F71DD#FFFFFF#000000##000000
##5F71DD1.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)
#3B80E1
Deuteranopia (green-blind)
#2675DB
Tritanopia (blue-blind)
#06899C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f71dd;
/* rgb */ color: rgb(95, 113, 221);
/* oklch */ color: oklch(58.9% 0.164 273.2);
Tailwind
colors: {
  custom: {
    50: '#9699e8',
    500: '#5f71dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f71dd;
$custom-light: #9699e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f71dd",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 231.429,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58892,
    "c": 0.16439,
    "h": 273.2
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#5F71DD
secondary
#E3DCB5
accent
#B319CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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