#5F4DEE#5F4DEE

#5F4DEE is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.0% C 0.230 H 280.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5F4DEE
RGBrgb(95, 77, 238)
HSLhsl(247, 83%, 62%)
HSVhsv(247, 68%, 93%)
CMYKcmyk(60.1%, 67.6%, 0%, 6.7%)
CIE-LABlab(44.11, 51.60, -78.59)
CIE-LCHlch(44.11, 94.02, 303.28°)
OKLaboklab(54.02% 0.0417 -0.2265)
OKLCHoklch(54.02% 0.23 280.4)
XYZxyz(22.8009, 13.9120, 82.3561)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4DEE #DCEE4D
analogous
#4D8CEE #5F4DEE #B04DEE
triadic
#5F4DEE #EE5F4D #4DEE5F
tetradic
#5F4DEE #EE4D8C #DCEE4D #4DEEB0
square
#5F4DEE #EE4D8C #DCEE4D #4DEEB0
split-complementary
#5F4DEE #EEB04D #8CEE4D
monochromatic
#2311B0 #2E16E8 #5F4DEE #9185F3 #C3BDF9

Accessibility & contrast

On white

5.55
#5F4DEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5F4DEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4DEE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4DEE#FFFFFF#000000##FFFFFF
##5F4DEE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF3
Deuteranopia (green-blind)
#0062EB
Tritanopia (blue-blind)
#007897
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f4dee;
/* rgb */ color: rgb(95, 77, 238);
/* oklch */ color: oklch(54.0% 0.230 280.4);
Tailwind
colors: {
  custom: {
    50: '#9b80f5',
    500: '#5f4dee',
    950: '#000000',
  },
}
SCSS
$custom: #5f4dee;
$custom-light: #9b80f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4dee",
  "rgb": {
    "r": 95,
    "g": 77,
    "b": 238
  },
  "hsl": {
    "h": 246.708,
    "s": 82.564,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54018,
    "c": 0.2303,
    "h": 280.4
  },
  "luminance": 0.13914
}

Semantic roles & 50–950 ramp

primary
#5F4DEE
secondary
#E3E9AE
accent
#DF07C7
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F4DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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