#5F4AE8#5F4AE8

#5F4AE8 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.1% C 0.226 H 281.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5F4AE8
RGBrgb(95, 74, 232)
HSLhsl(248, 77%, 60%)
HSVhsv(248, 68%, 91%)
CMYKcmyk(59.1%, 68.1%, 0%, 9%)
CIE-LABlab(43.00, 51.44, -77.02)
CIE-LCHlch(43.00, 92.62, 303.73°)
OKLaboklab(53.06% 0.0449 -0.2219)
OKLCHoklch(53.06% 0.226 281.4)
XYZxyz(21.7290, 13.1551, 77.7225)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4AE8 #D3E84A
analogous
#4A84E8 #5F4AE8 #AE4AE8
triadic
#5F4AE8 #E85F4A #4AE85F
tetradic
#5F4AE8 #E84A84 #D3E84A #4AE8AE
square
#5F4AE8 #E84A84 #D3E84A #4AE8AE
split-complementary
#5F4AE8 #E8AE4A #84E84A
monochromatic
#2815A3 #351CD9 #5F4AE8 #8F80EF #BFB7F6

Accessibility & contrast

On white

5.78
#5F4AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5F4AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4AE8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4AE8#FFFFFF#000000##FFFFFF
##5F4AE81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0060E5
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f4ae8;
/* rgb */ color: rgb(95, 74, 232);
/* oklch */ color: oklch(53.1% 0.226 281.4);
Tailwind
colors: {
  custom: {
    50: '#9a7ef1',
    500: '#5f4ae8',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ae8;
$custom-light: #9a7ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ae8",
  "rgb": {
    "r": 95,
    "g": 74,
    "b": 232
  },
  "hsl": {
    "h": 247.975,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.53064,
    "c": 0.22639,
    "h": 281.4
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#5F4AE8
secondary
#DDE5A8
accent
#F434DA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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