#5F4BE3#5F4BE3

#5F4BE3 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.8% C 0.219 H 281.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5F4BE3
RGBrgb(95, 75, 227)
HSLhsl(248, 73%, 59%)
HSVhsv(248, 67%, 89%)
CMYKcmyk(58.1%, 67%, 0%, 11%)
CIE-LABlab(42.78, 49.38, -74.55)
CIE-LCHlch(42.78, 89.42, 303.52°)
OKLaboklab(52.78% 0.0448 -0.2146)
OKLCHoklch(52.78% 0.219 281.8)
XYZxyz(21.0962, 13.0097, 74.0576)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BE3 #CFE34B
analogous
#4B83E3 #5F4BE3 #AB4BE3
triadic
#5F4BE3 #E35F4B #4BE35F
tetradic
#5F4BE3 #E34B83 #CFE34B #4BE3AB
square
#5F4BE3 #E34B83 #CFE34B #4BE3AB
split-complementary
#5F4BE3 #E3AB4B #83E34B
monochromatic
#29189B #3820D0 #5F4BE3 #8E80EB #BDB5F3

Accessibility & contrast

On white

5.83
#5F4BE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5F4BE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BE3
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BE3#FFFFFF#000000##FFFFFF
##5F4BE31.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#0060E0
Tritanopia (blue-blind)
#037391
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5f4be3;
/* rgb */ color: rgb(95, 75, 227);
/* oklch */ color: oklch(52.8% 0.219 281.8);
Tailwind
colors: {
  custom: {
    50: '#997fed',
    500: '#5f4be3',
    950: '#000000',
  },
}
SCSS
$custom: #5f4be3;
$custom-light: #997fed;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4be3",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 227
  },
  "hsl": {
    "h": 247.895,
    "s": 73.077,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52778,
    "c": 0.21926,
    "h": 281.8
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#5F4BE3
secondary
#DBE3A7
accent
#F038D8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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