#5F50CE#5F50CE

#5F50CE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.8% C 0.187 H 283.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#5F50CE
RGBrgb(95, 80, 206)
HSLhsl(247, 56%, 56%)
HSVhsv(247, 61%, 81%)
CMYKcmyk(53.9%, 61.2%, 0%, 19.2%)
CIE-LABlab(42.19, 40.10, -63.48)
CIE-LCHlch(42.19, 75.09, 302.28°)
OKLaboklab(51.84% 0.0425 -0.1821)
OKLCHoklch(51.84% 0.187 283.1)
XYZxyz(18.7252, 12.6254, 59.8308)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F50CE #BFCE50
analogous
#5080CE #5F50CE #9E50CE
triadic
#5F50CE #CE5F50 #50CE5F
tetradic
#5F50CE #CE5080 #BFCE50 #50CE9E
square
#5F50CE #CE5080 #BFCE50 #50CE9E
split-complementary
#5F50CE #CE9E50 #80CE50
monochromatic
#2F2480 #4031B0 #5F50CE #8B80DB #B6B0E9

Accessibility & contrast

On white

5.96
#5F50CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5F50CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F50CE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F50CE#FFFFFF#000000##FFFFFF
##5F50CE1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#2E6E87
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f50ce;
/* rgb */ color: rgb(95, 80, 206);
/* oklch */ color: oklch(51.8% 0.187 283.1);
Tailwind
colors: {
  custom: {
    50: '#9682de',
    500: '#5f50ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f50ce;
$custom-light: #9682de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f50ce",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 247.143,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51838,
    "c": 0.18701,
    "h": 283.1
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#5F50CE
secondary
#D1D7A3
accent
#E048CE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5F50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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