#5F50D6#5F50D6

#5F50D6 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.5% C 0.197 H 282.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5F50D6
RGBrgb(95, 80, 214)
HSLhsl(247, 62%, 58%)
HSVhsv(247, 63%, 84%)
CMYKcmyk(55.6%, 62.6%, 0%, 16.1%)
CIE-LABlab(42.80, 42.56, -67.09)
CIE-LCHlch(42.80, 79.46, 302.39°)
OKLaboklab(52.47% 0.0419 -0.1927)
OKLCHoklch(52.47% 0.197 282.3)
XYZxyz(19.7218, 13.0240, 65.0800)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F50D6 #C7D650
analogous
#5084D6 #5F50D6 #A250D6
triadic
#5F50D6 #D65F50 #50D65F
tetradic
#5F50D6 #D65084 #C7D650 #50D6A2
square
#5F50D6 #D65084 #C7D650 #50D6A2
split-complementary
#5F50D6 #D6A250 #84D650
monochromatic
#2C218B #3C2CBD #5F50D6 #8C82E2 #BAB3ED

Accessibility & contrast

On white

5.83
#5F50D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5F50D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F50D6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F50D6#FFFFFF#000000##FFFFFF
##5F50D61.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#24718C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f50d6;
/* rgb */ color: rgb(95, 80, 214);
/* oklch */ color: oklch(52.5% 0.197 282.3);
Tailwind
colors: {
  custom: {
    50: '#9782e4',
    500: '#5f50d6',
    950: '#000000',
  },
}
SCSS
$custom: #5f50d6;
$custom-light: #9782e4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f50d6",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 214
  },
  "hsl": {
    "h": 246.716,
    "s": 62.037,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52471,
    "c": 0.19724,
    "h": 282.3
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#5F50D6
secondary
#D6DCA6
accent
#E543D3
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5F50D6

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

Preview Lab → · Contrast checker → · Palette generator →

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