#5F4AE2#5F4AE2

#5F4AE2 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.5% C 0.219 H 282.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5F4AE2
RGBrgb(95, 74, 226)
HSLhsl(248, 72%, 59%)
HSVhsv(248, 67%, 89%)
CMYKcmyk(58%, 67.3%, 0%, 11.4%)
CIE-LABlab(42.49, 49.63, -74.45)
CIE-LCHlch(42.49, 89.48, 303.69°)
OKLaboklab(52.55% 0.0458 -0.2143)
OKLCHoklch(52.55% 0.219 282.1)
XYZxyz(20.8913, 12.8200, 73.3104)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4AE2 #CDE24A
analogous
#4A81E2 #5F4AE2 #AB4AE2
triadic
#5F4AE2 #E25F4A #4AE25F
tetradic
#5F4AE2 #E24A81 #CDE24A #4AE2AB
square
#5F4AE2 #E24A81 #CDE24A #4AE2AB
split-complementary
#5F4AE2 #E2AB4A #81E24A
monochromatic
#2A1999 #3921CE #5F4AE2 #8E7FEA #BCB3F3

Accessibility & contrast

On white

5.89
#5F4AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5F4AE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4AE2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4AE2#FFFFFF#000000##FFFFFF
##5F4AE21.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#005FDF
Tritanopia (blue-blind)
#087290
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f4ae2;
/* rgb */ color: rgb(95, 74, 226);
/* oklch */ color: oklch(52.5% 0.219 282.1);
Tailwind
colors: {
  custom: {
    50: '#997eec',
    500: '#5f4ae2',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ae2;
$custom-light: #997eec;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ae2",
  "rgb": {
    "r": 95,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 248.289,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.21918,
    "h": 282.1
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#5F4AE2
secondary
#DAE2A6
accent
#EF39D6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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