#5F50EB#5F50EB

#5F50EB is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.2% C 0.223 H 280.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5F50EB
RGBrgb(95, 80, 235)
HSLhsl(246, 79%, 62%)
HSVhsv(246, 66%, 92%)
CMYKcmyk(59.6%, 66%, 0%, 7.8%)
CIE-LABlab(44.47, 49.01, -76.30)
CIE-LCHlch(44.47, 90.69, 302.71°)
OKLaboklab(54.2% 0.0398 -0.2198)
OKLCHoklch(54.2% 0.223 280.3)
XYZxyz(22.5786, 14.1667, 80.1258)
Luminance0.1417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F50EB #DCEB50
analogous
#508FEB #5F50EB #AC50EB
triadic
#5F50EB #EB5F50 #50EB5F
tetradic
#5F50EB #EB508F #DCEB50 #50EBAC
square
#5F50EB #EB508F #DCEB50 #50EBAC
split-complementary
#5F50EB #EBAC50 #8FEB50
monochromatic
#2314AD #2E1AE4 #5F50EB #9187F1 #C3BEF8

Accessibility & contrast

On white

5.48
#5F50EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5F50EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F50EB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F50EB#FFFFFF#000000##FFFFFF
##5F50EB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF0
Deuteranopia (green-blind)
#0063E8
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f50eb;
/* rgb */ color: rgb(95, 80, 235);
/* oklch */ color: oklch(54.2% 0.223 280.3);
Tailwind
colors: {
  custom: {
    50: '#9a82f3',
    500: '#5f50eb',
    950: '#000000',
  },
}
SCSS
$custom: #5f50eb;
$custom-light: #9a82f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f50eb",
  "rgb": {
    "r": 95,
    "g": 80,
    "b": 235
  },
  "hsl": {
    "h": 245.806,
    "s": 79.487,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.22336,
    "h": 280.3
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

primary
#5F50EB
secondary
#E3E8AF
accent
#DC0AC7
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F50EB

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

Preview Lab → · Contrast checker → · Palette generator →

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