#5F4DDB#5F4DDB

#5F4DDB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.4% C 0.207 H 282.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5F4DDB
RGBrgb(95, 77, 219)
HSLhsl(248, 66%, 58%)
HSVhsv(248, 65%, 86%)
CMYKcmyk(56.6%, 64.8%, 0%, 14.1%)
CIE-LABlab(42.54, 45.83, -70.37)
CIE-LCHlch(42.54, 83.98, 303.07°)
OKLaboklab(52.41% 0.0442 -0.2024)
OKLCHoklch(52.41% 0.207 282.3)
XYZxyz(20.1554, 12.8538, 68.4231)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4DDB #C9DB4D
analogous
#4D82DB #5F4DDB #A64DDB
triadic
#5F4DDB #DB5F4D #4DDB5F
tetradic
#5F4DDB #DB4D82 #C9DB4D #4DDBA6
square
#5F4DDB #DB4D82 #C9DB4D #4DDBA6
split-complementary
#5F4DDB #DBA64D #82DB4D
monochromatic
#2C1D90 #3B27C3 #5F4DDB #8D80E5 #BBB3F0

Accessibility & contrast

On white

5.88
#5F4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5F4DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4DDB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4DDB#FFFFFF#000000##FFFFFF
##5F4DDB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005FD8
Tritanopia (blue-blind)
#1C718D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f4ddb;
/* rgb */ color: rgb(95, 77, 219);
/* oklch */ color: oklch(52.4% 0.207 282.3);
Tailwind
colors: {
  custom: {
    50: '#9880e7',
    500: '#5f4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ddb;
$custom-light: #9880e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ddb",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 247.606,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52406,
    "c": 0.20715,
    "h": 282.3
  },
  "luminance": 0.12855
}

Semantic roles & 50–950 ramp

primary
#5F4DDB
secondary
#D7DEA6
accent
#E93FD4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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