#5F4BE9#5F4BE9

#5F4BE9 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.3% C 0.227 H 281.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5F4BE9
RGBrgb(95, 75, 233)
HSLhsl(248, 78%, 60%)
HSVhsv(248, 68%, 91%)
CMYKcmyk(59.2%, 67.8%, 0%, 8.6%)
CIE-LABlab(43.28, 51.19, -77.12)
CIE-LCHlch(43.28, 92.56, 303.57°)
OKLaboklab(53.3% 0.044 -0.2222)
OKLCHoklch(53.3% 0.227 281.2)
XYZxyz(21.9388, 13.3467, 78.4951)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BE9 #D5E94B
analogous
#4B86E9 #5F4BE9 #AE4BE9
triadic
#5F4BE9 #E95F4B #4BE95F
tetradic
#5F4BE9 #E94B86 #D5E94B #4BE9AE
square
#5F4BE9 #E94B86 #D5E94B #4BE9AE
split-complementary
#5F4BE9 #E9AE4B #86E94B
monochromatic
#2714A5 #331BDC #5F4BE9 #8F82F0 #C0B8F6

Accessibility & contrast

On white

5.72
#5F4BE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5F4BE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BE9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BE9#FFFFFF#000000##FFFFFF
##5F4BE91.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f4be9;
/* rgb */ color: rgb(95, 75, 233);
/* oklch */ color: oklch(53.3% 0.227 281.2);
Tailwind
colors: {
  custom: {
    50: '#9a7ff1',
    500: '#5f4be9',
    950: '#000000',
  },
}
SCSS
$custom: #5f4be9;
$custom-light: #9a7ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4be9",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 233
  },
  "hsl": {
    "h": 247.595,
    "s": 78.218,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53295,
    "c": 0.2265,
    "h": 281.2
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#5F4BE9
secondary
#DEE6AA
accent
#DA0BC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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