#5F4FE7#5F4FE7

#5F4FE7 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.7% C 0.220 H 280.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5F4FE7
RGBrgb(95, 79, 231)
HSLhsl(246, 76%, 61%)
HSVhsv(246, 66%, 91%)
CMYKcmyk(58.9%, 65.8%, 0%, 9.4%)
CIE-LABlab(43.93, 48.35, -74.92)
CIE-LCHlch(43.93, 89.17, 302.84°)
OKLaboklab(53.71% 0.0411 -0.2157)
OKLCHoklch(53.71% 0.22 280.8)
XYZxyz(21.9346, 13.7928, 77.0922)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4FE7 #D7E74F
analogous
#4F8BE7 #5F4FE7 #AB4FE7
triadic
#5F4FE7 #E75F4F #4FE75F
tetradic
#5F4FE7 #E74F8B #D7E74F #4FE7AB
square
#5F4FE7 #E74F8B #D7E74F #4FE7AB
split-complementary
#5F4FE7 #E7AB4F #8BE74F
monochromatic
#2617A5 #321EDB #5F4FE7 #9085EE #C1BBF6

Accessibility & contrast

On white

5.59
#5F4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5F4FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4FE7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4FE7#FFFFFF#000000##FFFFFF
##5F4FE71.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f4fe7;
/* rgb */ color: rgb(95, 79, 231);
/* oklch */ color: oklch(53.7% 0.220 280.8);
Tailwind
colors: {
  custom: {
    50: '#9a82f0',
    500: '#5f4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #5f4fe7;
$custom-light: #9a82f0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4fe7",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 246.316,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53714,
    "c": 0.2196,
    "h": 280.8
  },
  "luminance": 0.13794
}

Semantic roles & 50–950 ramp

primary
#5F4FE7
secondary
#E0E6AC
accent
#D80DC3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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