#5F4AE6#5F4AE6

#5F4AE6 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.9% C 0.224 H 281.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5F4AE6
RGBrgb(95, 74, 230)
HSLhsl(248, 76%, 60%)
HSVhsv(248, 68%, 90%)
CMYKcmyk(58.7%, 67.8%, 0%, 9.8%)
CIE-LABlab(42.83, 50.84, -76.17)
CIE-LCHlch(42.83, 91.57, 303.72°)
OKLaboklab(52.89% 0.0452 -0.2194)
OKLCHoklch(52.89% 0.224 281.6)
XYZxyz(21.4466, 13.0422, 76.2348)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4AE6 #D1E64A
analogous
#4A83E6 #5F4AE6 #AD4AE6
triadic
#5F4AE6 #E65F4A #4AE65F
tetradic
#5F4AE6 #E64A83 #D1E64A #4AE6AD
square
#5F4AE6 #E64A83 #D1E64A #4AE6AD
split-complementary
#5F4AE6 #E6AD4A #83E64A
monochromatic
#2916A0 #361DD5 #5F4AE6 #8F80ED #BEB6F5

Accessibility & contrast

On white

5.82
#5F4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5F4AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4AE6
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4AE6#FFFFFF#000000##FFFFFF
##5F4AE61.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f4ae6;
/* rgb */ color: rgb(95, 74, 230);
/* oklch */ color: oklch(52.9% 0.224 281.6);
Tailwind
colors: {
  custom: {
    50: '#9a7eef',
    500: '#5f4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ae6;
$custom-light: #9a7eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ae6",
  "rgb": {
    "r": 95,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 248.077,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52891,
    "c": 0.224,
    "h": 281.6
  },
  "luminance": 0.13044
}

Semantic roles & 50–950 ramp

primary
#5F4AE6
secondary
#DCE4A8
accent
#F235D9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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