#5F4BE8#5F4BE8

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

Color values

HEX#5F4BE8
RGBrgb(95, 75, 232)
HSLhsl(248, 77%, 60%)
HSVhsv(248, 68%, 91%)
CMYKcmyk(59.1%, 67.7%, 0%, 9%)
CIE-LABlab(43.20, 50.89, -76.70)
CIE-LCHlch(43.20, 92.04, 303.56°)
OKLaboklab(53.21% 0.0441 -0.2209)
OKLCHoklch(53.21% 0.225 281.3)
XYZxyz(21.7963, 13.2897, 77.7449)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BE8 #D4E84B
analogous
#4B86E8 #5F4BE8 #AD4BE8
triadic
#5F4BE8 #E85F4B #4BE85F
tetradic
#5F4BE8 #E84B86 #D4E84B #4BE8AD
square
#5F4BE8 #E84B86 #D4E84B #4BE8AD
split-complementary
#5F4BE8 #E8AD4B #86E84B
monochromatic
#2715A4 #341CDA #5F4BE8 #8F81EF #BFB8F6

Accessibility & contrast

On white

5.74
#5F4BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5F4BE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BE8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BE8#FFFFFF#000000##FFFFFF
##5F4BE81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f4be8;
/* rgb */ color: rgb(95, 75, 232);
/* oklch */ color: oklch(53.2% 0.225 281.3);
Tailwind
colors: {
  custom: {
    50: '#9a7ff1',
    500: '#5f4be8',
    950: '#000000',
  },
}
SCSS
$custom: #5f4be8;
$custom-light: #9a7ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4be8",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 232
  },
  "hsl": {
    "h": 247.643,
    "s": 77.34,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.22529,
    "h": 281.3
  },
  "luminance": 0.13291
}

Semantic roles & 50–950 ramp

primary
#5F4BE8
secondary
#DEE6A9
accent
#DA0CBF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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