#5F4BFC#5F4BFC

#5F4BFC is a mid, highly saturated blue. Relative luminance 0.145; OKLCH L 55.0% C 0.249 H 279.4°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5F4BFC
RGBrgb(95, 75, 252)
HSLhsl(247, 97%, 64%)
HSVhsv(247, 70%, 99%)
CMYKcmyk(62.3%, 70.2%, 0%, 1.2%)
CIE-LABlab(44.93, 56.88, -85.09)
CIE-LCHlch(44.93, 102.35, 303.76°)
OKLaboklab(54.98% 0.0409 -0.2455)
OKLCHoklch(54.98% 0.249 279.4)
XYZxyz(24.8005, 14.4914, 93.5668)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BFC #E8FC4B
analogous
#4B90FC #5F4BFC #B84BFC
triadic
#5F4BFC #FC5F4B #4BFC5F
tetradic
#5F4BFC #FC4B90 #E8FC4B #4BFCB8
square
#5F4BFC #FC4B90 #E8FC4B #4BFCB8
split-complementary
#5F4BFC #FCB84B #90FC4B
monochromatic
#1A03C9 #290FFB #5F4BFC #9587FD #CAC3FE

Accessibility & contrast

On white

5.39
#5F4BFC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#5F4BFC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BFC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BFC#FFFFFF#000000##FFFFFF
##5F4BFC1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0063F9
Tritanopia (blue-blind)
#007C9F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5f4bfc;
/* rgb */ color: rgb(95, 75, 252);
/* oklch */ color: oklch(55.0% 0.249 279.4);
Tailwind
colors: {
  custom: {
    50: '#9d80ff',
    500: '#5f4bfc',
    950: '#000000',
  },
}
SCSS
$custom: #5f4bfc;
$custom-light: #9d80ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4bfc",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 252
  },
  "hsl": {
    "h": 246.78,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.54977,
    "c": 0.2489,
    "h": 279.4
  },
  "luminance": 0.14493
}

Semantic roles & 50–950 ramp

primary
#5F4BFC
secondary
#E9F0B3
accent
#E600CC
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #5F4BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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