#5F71EE#5F71EE

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

Color values

HEX#5F71EE
RGBrgb(95, 113, 238)
HSLhsl(232, 81%, 65%)
HSVhsv(232, 60%, 93%)
CMYKcmyk(60.1%, 52.5%, 0%, 6.7%)
CIE-LABlab(52.30, 30.39, -65.26)
CIE-LCHlch(52.30, 71.99, 294.97°)
OKLaboklab(60.05% 0.0106 -0.1871)
OKLCHoklch(60.05% 0.187 273.2)
XYZxyz(26.0520, 20.4141, 83.4398)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F71EE #EEDC5F
analogous
#5FB8EE #5F71EE #955FEE
triadic
#5F71EE #EE5F71 #71EE5F
tetradic
#5F71EE #EE5FB8 #EEDC5F #5FEE95
square
#5F71EE #EE5FB8 #EEDC5F #5FEE95
split-complementary
#5F71EE #EE955F #B8EE5F
monochromatic
#142ABE #2840E8 #5F71EE #96A2F4 #CED3FA

Accessibility & contrast

On white

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

On black

5.08
#5F71EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F71EE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F71EE#FFFFFF#000000##000000
##5F71EE1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2283F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#008EA5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f71ee;
/* rgb */ color: rgb(95, 113, 238);
/* oklch */ color: oklch(60.1% 0.187 273.2);
Tailwind
colors: {
  custom: {
    50: '#9999f4',
    500: '#5f71ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f71ee;
$custom-light: #9999f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f71ee",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 232.448,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60051,
    "c": 0.1874,
    "h": 273.2
  },
  "luminance": 0.20416
}

Semantic roles & 50–950 ramp

primary
#5F71EE
secondary
#ECE6BC
accent
#C208DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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