#5F50E4#5F50E4

#5F50E4 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.6% C 0.215 H 280.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5F50E4
RGBrgb(95, 80, 228)
HSLhsl(246, 73%, 60%)
HSVhsv(246, 65%, 89%)
CMYKcmyk(58.3%, 64.9%, 0%, 10.6%)
CIE-LABlab(43.90, 46.87, -73.28)
CIE-LCHlch(43.90, 86.98, 302.60°)
OKLaboklab(53.62% 0.0406 -0.2109)
OKLCHoklch(53.62% 0.215 280.9)
XYZxyz(21.5872, 13.7702, 74.9041)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F50E4 #D5E450
analogous
#508BE4 #5F50E4 #A950E4
triadic
#5F50E4 #E45F50 #50E45F
tetradic
#5F50E4 #E4508B #D5E450 #50E4A9
square
#5F50E4 #E4508B #D5E450 #50E4A9
split-complementary
#5F50E4 #E4A950 #8BE450
monochromatic
#2719A1 #3321D6 #5F50E4 #8F85EC #C0BAF4

Accessibility & contrast

On white

5.59
#5F50E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#5F50E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F50E4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F50E4#FFFFFF#000000##FFFFFF
##5F50E41.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#007693
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f50e4;
/* rgb */ color: rgb(95, 80, 228);
/* oklch */ color: oklch(53.6% 0.215 280.9);
Tailwind
colors: {
  custom: {
    50: '#9982ee',
    500: '#5f50e4',
    950: '#000000',
  },
}
SCSS
$custom: #5f50e4;
$custom-light: #9982ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f50e4",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 228
  },
  "hsl": {
    "h": 246.081,
    "s": 73.267,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53615,
    "c": 0.21477,
    "h": 280.9
  },
  "luminance": 0.13772
}

Semantic roles & 50–950 ramp

primary
#5F50E4
secondary
#DEE4AC
accent
#D510C1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F50E4

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

Preview Lab → · Contrast checker → · Palette generator →

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