#5F4EDB#5F4EDB

#5F4EDB is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.6% C 0.206 H 282.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5F4EDB
RGBrgb(95, 78, 219)
HSLhsl(247, 66%, 58%)
HSVhsv(247, 64%, 86%)
CMYKcmyk(56.6%, 64.4%, 0%, 14.1%)
CIE-LABlab(42.76, 45.25, -70.03)
CIE-LCHlch(42.76, 83.38, 302.87°)
OKLaboklab(52.56% 0.0433 -0.2014)
OKLCHoklch(52.56% 0.206 282.1)
XYZxyz(20.2259, 12.9948, 68.4466)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4EDB #CADB4E
analogous
#4E83DB #5F4EDB #A54EDB
triadic
#5F4EDB #DB5F4E #4EDB5F
tetradic
#5F4EDB #DB4E83 #CADB4E #4EDBA5
square
#5F4EDB #DB4E83 #CADB4E #4EDBA5
split-complementary
#5F4EDB #DBA54E #83DB4E
monochromatic
#2B1E91 #3B28C4 #5F4EDB #8D81E5 #BBB4F0

Accessibility & contrast

On white

5.83
#5F4EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5F4EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4EDB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4EDB#FFFFFF#000000##FFFFFF
##5F4EDB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#1B718E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f4edb;
/* rgb */ color: rgb(95, 78, 219);
/* oklch */ color: oklch(52.6% 0.206 282.1);
Tailwind
colors: {
  custom: {
    50: '#9881e7',
    500: '#5f4edb',
    950: '#000000',
  },
}
SCSS
$custom: #5f4edb;
$custom-light: #9881e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4edb",
  "rgb": {
    "r": 95,
    "g": 78,
    "b": 219
  },
  "hsl": {
    "h": 247.234,
    "s": 66.197,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.20596,
    "h": 282.1
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#5F4EDB
secondary
#D8DEA6
accent
#E93FD5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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