#5F4FE4#5F4FE4

#5F4FE4 is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.5% C 0.216 H 281.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5F4FE4
RGBrgb(95, 79, 228)
HSLhsl(246, 73%, 60%)
HSVhsv(246, 65%, 89%)
CMYKcmyk(58.3%, 65.4%, 0%, 10.6%)
CIE-LABlab(43.69, 47.44, -73.62)
CIE-LCHlch(43.69, 87.58, 302.79°)
OKLaboklab(53.46% 0.0414 -0.2119)
OKLCHoklch(53.46% 0.216 281.1)
XYZxyz(21.5145, 13.6248, 74.8799)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4FE4 #D4E44F
analogous
#4F89E4 #5F4FE4 #A94FE4
triadic
#5F4FE4 #E45F4F #4FE45F
tetradic
#5F4FE4 #E44F89 #D4E44F #4FE4A9
square
#5F4FE4 #E44F89 #D4E44F #4FE4A9
split-complementary
#5F4FE4 #E4A94F #89E44F
monochromatic
#2719A0 #3421D5 #5F4FE4 #8F84EC #BFB9F4

Accessibility & contrast

On white

5.64
#5F4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5F4FE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4FE4
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4FE4#FFFFFF#000000##FFFFFF
##5F4FE41.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f4fe4;
/* rgb */ color: rgb(95, 79, 228);
/* oklch */ color: oklch(53.5% 0.216 281.1);
Tailwind
colors: {
  custom: {
    50: '#9982ee',
    500: '#5f4fe4',
    950: '#000000',
  },
}
SCSS
$custom: #5f4fe4;
$custom-light: #9982ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4fe4",
  "rgb": {
    "r": 95,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 246.443,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.21593,
    "h": 281.1
  },
  "luminance": 0.13626
}

Semantic roles & 50–950 ramp

primary
#5F4FE4
secondary
#DEE4AB
accent
#D610C0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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