#5F4BDE#5F4BDE

#5F4BDE is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.4% C 0.213 H 282.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5F4BDE
RGBrgb(95, 75, 222)
HSLhsl(248, 69%, 58%)
HSVhsv(248, 66%, 87%)
CMYKcmyk(57.2%, 66.2%, 0%, 12.9%)
CIE-LABlab(42.37, 47.87, -72.37)
CIE-LCHlch(42.37, 86.77, 303.48°)
OKLaboklab(52.35% 0.0455 -0.2083)
OKLCHoklch(52.35% 0.213 282.3)
XYZxyz(20.4161, 12.7376, 70.4759)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BDE #CADE4B
analogous
#4B80DE #5F4BDE #A84BDE
triadic
#5F4BDE #DE5F4B #4BDE5F
tetradic
#5F4BDE #DE4B80 #CADE4B #4BDEA8
square
#5F4BDE #DE4B80 #CADE4B #4BDEA8
split-complementary
#5F4BDE #DEA84B #80DE4B
monochromatic
#2B1B94 #3B25C7 #5F4BDE #8D7FE7 #BBB2F1

Accessibility & contrast

On white

5.92
#5F4BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#5F4BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BDE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BDE#FFFFFF#000000##FFFFFF
##5F4BDE1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#005FDB
Tritanopia (blue-blind)
#15718E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f4bde;
/* rgb */ color: rgb(95, 75, 222);
/* oklch */ color: oklch(52.4% 0.213 282.3);
Tailwind
colors: {
  custom: {
    50: '#997fe9',
    500: '#5f4bde',
    950: '#000000',
  },
}
SCSS
$custom: #5f4bde;
$custom-light: #997fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4bde",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 248.163,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52353,
    "c": 0.21317,
    "h": 282.3
  },
  "luminance": 0.12739
}

Semantic roles & 50–950 ramp

primary
#5F4BDE
secondary
#D8E0A5
accent
#EC3CD4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F4BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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