#5F4BF2#5F4BF2

#5F4BF2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 54.1% C 0.237 H 280.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5F4BF2
RGBrgb(95, 75, 242)
HSLhsl(247, 87%, 62%)
HSVhsv(247, 69%, 95%)
CMYKcmyk(60.7%, 69%, 0%, 5.1%)
CIE-LABlab(44.05, 53.89, -80.93)
CIE-LCHlch(44.05, 97.23, 303.66°)
OKLaboklab(54.08% 0.0426 -0.2333)
OKLCHoklch(54.08% 0.237 280.3)
XYZxyz(23.2573, 13.8741, 85.4396)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BF2 #DEF24B
analogous
#4B8AF2 #5F4BF2 #B34BF2
triadic
#5F4BF2 #F25F4B #4BF25F
tetradic
#5F4BF2 #F24B8A #DEF24B #4BF2B3
square
#5F4BF2 #F24B8A #DEF24B #4BF2B3
split-complementary
#5F4BF2 #F2B34B #8AF24B
monochromatic
#210DB5 #2C12EE #5F4BF2 #9284F6 #C4BDFA

Accessibility & contrast

On white

5.56
#5F4BF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5F4BF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BF2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BF2#FFFFFF#000000##FFFFFF
##5F4BF21.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF7
Deuteranopia (green-blind)
#0062EF
Tritanopia (blue-blind)
#007899
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f4bf2;
/* rgb */ color: rgb(95, 75, 242);
/* oklch */ color: oklch(54.1% 0.237 280.3);
Tailwind
colors: {
  custom: {
    50: '#9c7ff8',
    500: '#5f4bf2',
    950: '#000000',
  },
}
SCSS
$custom: #5f4bf2;
$custom-light: #9c7ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4bf2",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 242
  },
  "hsl": {
    "h": 247.186,
    "s": 86.528,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54083,
    "c": 0.2372,
    "h": 280.3
  },
  "luminance": 0.13876
}

Semantic roles & 50–950 ramp

primary
#5F4BF2
secondary
#E4EBAE
accent
#E302C8
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F4BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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