#5F50E7#5F50E7

#5F50E7 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.9% C 0.218 H 280.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5F50E7
RGBrgb(95, 80, 231)
HSLhsl(246, 76%, 61%)
HSVhsv(246, 65%, 91%)
CMYKcmyk(58.9%, 65.4%, 0%, 9.4%)
CIE-LABlab(44.14, 47.79, -74.58)
CIE-LCHlch(44.14, 88.58, 302.65°)
OKLaboklab(53.87% 0.0403 -0.2147)
OKLCHoklch(53.87% 0.218 280.6)
XYZxyz(22.0072, 13.9382, 77.1165)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F50E7 #D8E750
analogous
#508CE7 #5F50E7 #AA50E7
triadic
#5F50E7 #E75F50 #50E75F
tetradic
#5F50E7 #E7508C #D8E750 #50E7AA
square
#5F50E7 #E7508C #D8E750 #50E7AA
split-complementary
#5F50E7 #E7AA50 #8CE750
monochromatic
#2517A6 #311EDC #5F50E7 #9086EE #C1BCF6

Accessibility & contrast

On white

5.54
#5F50E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5F50E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F50E7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F50E7#FFFFFF#000000##FFFFFF
##5F50E71.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEC
Deuteranopia (green-blind)
#0063E4
Tritanopia (blue-blind)
#007795
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f50e7;
/* rgb */ color: rgb(95, 80, 231);
/* oklch */ color: oklch(53.9% 0.218 280.6);
Tailwind
colors: {
  custom: {
    50: '#9a82f0',
    500: '#5f50e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f50e7;
$custom-light: #9a82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f50e7",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 231
  },
  "hsl": {
    "h": 245.96,
    "s": 75.879,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.21846,
    "h": 280.6
  },
  "luminance": 0.1394
}

Semantic roles & 50–950 ramp

primary
#5F50E7
secondary
#E0E6AD
accent
#D80DC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F50E7

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

Preview Lab → · Contrast checker → · Palette generator →

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