#5F4CE9#5F4CE9

#5F4CE9 is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.4% C 0.225 H 281.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5F4CE9
RGBrgb(95, 76, 233)
HSLhsl(247, 78%, 61%)
HSVhsv(247, 67%, 91%)
CMYKcmyk(59.2%, 67.4%, 0%, 8.6%)
CIE-LABlab(43.48, 50.64, -76.79)
CIE-LCHlch(43.48, 91.98, 303.40°)
OKLaboklab(53.44% 0.0432 -0.2212)
OKLCHoklch(53.44% 0.225 281)
XYZxyz(22.0071, 13.4834, 78.5179)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4CE9 #D6E94C
analogous
#4C87E9 #5F4CE9 #AD4CE9
triadic
#5F4CE9 #E95F4C #4CE95F
tetradic
#5F4CE9 #E94C87 #D6E94C #4CE9AD
square
#5F4CE9 #E94C87 #D6E94C #4CE9AD
split-complementary
#5F4CE9 #E9AD4C #87E94C
monochromatic
#2614A6 #331BDD #5F4CE9 #9083F0 #C0B9F6

Accessibility & contrast

On white

5.68
#5F4CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5F4CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4CE9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4CE9#FFFFFF#000000##FFFFFF
##5F4CE91.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEE
Deuteranopia (green-blind)
#0061E6
Tritanopia (blue-blind)
#007594
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f4ce9;
/* rgb */ color: rgb(95, 76, 233);
/* oklch */ color: oklch(53.4% 0.225 281.0);
Tailwind
colors: {
  custom: {
    50: '#9a80f1',
    500: '#5f4ce9',
    950: '#000000',
  },
}
SCSS
$custom: #5f4ce9;
$custom-light: #9a80f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4ce9",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 247.261,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5344,
    "c": 0.2254,
    "h": 281
  },
  "luminance": 0.13485
}

Semantic roles & 50–950 ramp

primary
#5F4CE9
secondary
#DFE6AB
accent
#DA0BC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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