#5F4DE5#5F4DE5

#5F4DE5 is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.2% C 0.219 H 281.3°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5F4DE5
RGBrgb(95, 77, 229)
HSLhsl(247, 75%, 60%)
HSVhsv(247, 66%, 90%)
CMYKcmyk(58.5%, 66.4%, 0%, 10.2%)
CIE-LABlab(43.35, 48.87, -74.74)
CIE-LCHlch(43.35, 89.30, 303.18°)
OKLaboklab(53.25% 0.043 -0.2152)
OKLCHoklch(53.25% 0.219 281.3)
XYZxyz(21.5116, 13.3963, 75.5657)
Luminance0.1340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4DE5 #D3E54D
analogous
#4D87E5 #5F4DE5 #AB4DE5
triadic
#5F4DE5 #E55F4D #4DE55F
tetradic
#5F4DE5 #E54D87 #D3E54D #4DE5AB
square
#5F4DE5 #E54D87 #D3E54D #4DE5AB
split-complementary
#5F4DE5 #E5AB4D #87E54D
monochromatic
#2817A0 #351FD6 #5F4DE5 #8F82ED #BFB8F5

Accessibility & contrast

On white

5.71
#5F4DE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5F4DE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4DE5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4DE5#FFFFFF#000000##FFFFFF
##5F4DE51.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f4de5;
/* rgb */ color: rgb(95, 77, 229);
/* oklch */ color: oklch(53.2% 0.219 281.3);
Tailwind
colors: {
  custom: {
    50: '#9980ee',
    500: '#5f4de5',
    950: '#000000',
  },
}
SCSS
$custom: #5f4de5;
$custom-light: #9980ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4de5",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 247.105,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.53245,
    "c": 0.21943,
    "h": 281.3
  },
  "luminance": 0.13398
}

Semantic roles & 50–950 ramp

primary
#5F4DE5
secondary
#DDE4AA
accent
#F137DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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