#5F4FE5#5F4FE5

#5F4FE5 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.5% C 0.217 H 281.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5F4FE5
RGBrgb(95, 79, 229)
HSLhsl(246, 74%, 60%)
HSVhsv(246, 66%, 90%)
CMYKcmyk(58.5%, 65.5%, 0%, 10.2%)
CIE-LABlab(43.77, 47.74, -74.06)
CIE-LCHlch(43.77, 88.11, 302.81°)
OKLaboklab(53.55% 0.0413 -0.2132)
OKLCHoklch(53.55% 0.217 281)
XYZxyz(21.6537, 13.6805, 75.6131)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4FE5 #D5E54F
analogous
#4F8AE5 #5F4FE5 #AA4FE5
triadic
#5F4FE5 #E55F4F #4FE55F
tetradic
#5F4FE5 #E54F8A #D5E54F #4FE5AA
square
#5F4FE5 #E54F8A #D5E54F #4FE5AA
split-complementary
#5F4FE5 #E5AA4F #8AE54F
monochromatic
#2718A2 #3320D7 #5F4FE5 #8F84ED #C0BAF5

Accessibility & contrast

On white

5.62
#5F4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#5F4FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4FE5
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4FE5#FFFFFF#000000##FFFFFF
##5F4FE51.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f4fe5;
/* rgb */ color: rgb(95, 79, 229);
/* oklch */ color: oklch(53.5% 0.217 281.0);
Tailwind
colors: {
  custom: {
    50: '#9982ee',
    500: '#5f4fe5',
    950: '#000000',
  },
}
SCSS
$custom: #5f4fe5;
$custom-light: #9982ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4fe5",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 246.4,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53546,
    "c": 0.21716,
    "h": 281
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#5F4FE5
secondary
#DEE5AB
accent
#D60FC1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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