#5F4AEF#5F4AEF

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

Color values

HEX#5F4AEF
RGBrgb(95, 74, 239)
HSLhsl(248, 84%, 61%)
HSVhsv(248, 69%, 94%)
CMYKcmyk(60.3%, 69%, 0%, 6.3%)
CIE-LABlab(43.60, 53.53, -79.99)
CIE-LCHlch(43.60, 96.25, 303.79°)
OKLaboklab(53.68% 0.0438 -0.2306)
OKLCHoklch(53.68% 0.235 280.8)
XYZxyz(22.7432, 13.5608, 83.0636)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4AEF #DAEF4A
analogous
#4A88EF #5F4AEF #B14AEF
triadic
#5F4AEF #EF5F4A #4AEF5F
tetradic
#5F4AEF #EF4A88 #DAEF4A #4AEFB1
square
#5F4AEF #EF4A88 #DAEF4A #4AEFB1
split-complementary
#5F4AEF #EFB14A #88EF4A
monochromatic
#240FAF #2F14E7 #5F4AEF #9182F4 #C2BAF9

Accessibility & contrast

On white

5.66
#5F4AEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#5F4AEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4AEF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4AEF#FFFFFF#000000##FFFFFF
##5F4AEF1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF4
Deuteranopia (green-blind)
#0061EC
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f4aef;
/* rgb */ color: rgb(95, 74, 239);
/* oklch */ color: oklch(53.7% 0.235 280.8);
Tailwind
colors: {
  custom: {
    50: '#9b7ff5',
    500: '#5f4aef',
    950: '#000000',
  },
}
SCSS
$custom: #5f4aef;
$custom-light: #9b7ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4aef",
  "rgb": {
    "r": 95,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 247.636,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53678,
    "c": 0.23471,
    "h": 280.8
  },
  "luminance": 0.13562
}

Semantic roles & 50–950 ramp

primary
#5F4AEF
secondary
#E1E9AC
accent
#E005C4
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F4AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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