#5F4FED#5F4FED

#5F4FED is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.2% C 0.227 H 280.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5F4FED
RGBrgb(95, 79, 237)
HSLhsl(246, 81%, 62%)
HSVhsv(246, 67%, 93%)
CMYKcmyk(59.9%, 66.7%, 0%, 7.1%)
CIE-LABlab(44.43, 50.18, -77.50)
CIE-LCHlch(44.43, 92.33, 302.92°)
OKLaboklab(54.22% 0.0403 -0.2233)
OKLCHoklch(54.22% 0.227 280.2)
XYZxyz(22.7965, 14.1376, 81.6319)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4FED #DDED4F
analogous
#4F8EED #5F4FED #AE4FED
triadic
#5F4FED #ED5F4F #4FED5F
tetradic
#5F4FED #ED4F8E #DDED4F #4FEDAE
square
#5F4FED #ED4F8E #DDED4F #4FEDAE
split-complementary
#5F4FED #EDAE4F #8EED4F
monochromatic
#2212B0 #2D18E7 #5F4FED #9187F3 #C4BEF8

Accessibility & contrast

On white

5.49
#5F4FED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#5F4FED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4FED
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4FED#FFFFFF#000000##FFFFFF
##5F4FED1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF2
Deuteranopia (green-blind)
#0063EA
Tritanopia (blue-blind)
#007898
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f4fed;
/* rgb */ color: rgb(95, 79, 237);
/* oklch */ color: oklch(54.2% 0.227 280.2);
Tailwind
colors: {
  custom: {
    50: '#9b82f4',
    500: '#5f4fed',
    950: '#000000',
  },
}
SCSS
$custom: #5f4fed;
$custom-light: #9b82f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4fed",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 246.076,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54224,
    "c": 0.2269,
    "h": 280.2
  },
  "luminance": 0.14139
}

Semantic roles & 50–950 ramp

primary
#5F4FED
secondary
#E3E9AF
accent
#DE08C8
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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