#5F71ED#5F71ED

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

Color values

HEX#5F71ED
RGBrgb(95, 113, 237)
HSLhsl(232, 80%, 65%)
HSVhsv(232, 60%, 93%)
CMYKcmyk(59.9%, 52.3%, 0%, 7.1%)
CIE-LABlab(52.24, 30.06, -64.81)
CIE-LCHlch(52.24, 71.44, 294.88°)
OKLaboklab(59.98% 0.0105 -0.1858)
OKLCHoklch(59.98% 0.186 273.2)
XYZxyz(25.9055, 20.3555, 82.6682)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F71ED #EDDB5F
analogous
#5FB8ED #5F71ED #945FED
triadic
#5F71ED #ED5F71 #71ED5F
tetradic
#5F71ED #ED5FB8 #EDDB5F #5FED94
square
#5F71ED #ED5FB8 #EDDB5F #5FED94
split-complementary
#5F71ED #ED945F #B8ED5F
monochromatic
#152ABC #2840E7 #5F71ED #96A2F3 #CDD3F9

Accessibility & contrast

On white

4.14
#5F71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#5F71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F71ED
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F71ED#FFFFFF#000000##000000
##5F71ED1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2483F1
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f71ed;
/* rgb */ color: rgb(95, 113, 237);
/* oklch */ color: oklch(60.0% 0.186 273.2);
Tailwind
colors: {
  custom: {
    50: '#9999f4',
    500: '#5f71ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f71ed;
$custom-light: #9999f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f71ed",
  "rgb": {
    "r": 95,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 232.394,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59981,
    "c": 0.18607,
    "h": 273.2
  },
  "luminance": 0.20358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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