#5F4BD9#5F4BD9

#5F4BD9 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.207 H 282.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#5F4BD9
RGBrgb(95, 75, 217)
HSLhsl(248, 65%, 57%)
HSVhsv(248, 65%, 85%)
CMYKcmyk(56.2%, 65.4%, 0%, 14.9%)
CIE-LABlab(41.96, 46.36, -70.18)
CIE-LCHlch(41.96, 84.11, 303.45°)
OKLaboklab(51.93% 0.0461 -0.2018)
OKLCHoklch(51.93% 0.207 282.9)
XYZxyz(19.7559, 12.4736, 66.9988)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BD9 #C5D94B
analogous
#4B7ED9 #5F4BD9 #A64BD9
triadic
#5F4BD9 #D95F4B #4BD95F
tetradic
#5F4BD9 #D94B7E #C5D94B #4BD9A6
square
#5F4BD9 #D94B7E #C5D94B #4BD9A6
split-complementary
#5F4BD9 #D9A64B #7ED94B
monochromatic
#2D1E8C #3D28BF #5F4BD9 #8C7EE4 #B9B0EE

Accessibility & contrast

On white

6.01
#5F4BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5F4BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BD9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BD9#FFFFFF#000000##FFFFFF
##5F4BD91.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#206F8B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5f4bd9;
/* rgb */ color: rgb(95, 75, 217);
/* oklch */ color: oklch(51.9% 0.207 282.9);
Tailwind
colors: {
  custom: {
    50: '#987fe6',
    500: '#5f4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #5f4bd9;
$custom-light: #987fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4bd9",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 248.451,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51934,
    "c": 0.20703,
    "h": 282.9
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

primary
#5F4BD9
secondary
#D5DDA3
accent
#E840D0
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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