#5F4BEE#5F4BEE

#5F4BEE is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.7% C 0.232 H 280.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#5F4BEE
RGBrgb(95, 75, 238)
HSLhsl(247, 83%, 61%)
HSVhsv(247, 68%, 93%)
CMYKcmyk(60.1%, 68.5%, 0%, 6.7%)
CIE-LABlab(43.71, 52.69, -79.25)
CIE-LCHlch(43.71, 95.17, 303.62°)
OKLaboklab(53.73% 0.0432 -0.2284)
OKLCHoklch(53.73% 0.232 280.7)
XYZxyz(22.6631, 13.6365, 82.3102)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BEE #DAEE4B
analogous
#4B89EE #5F4BEE #B14BEE
triadic
#5F4BEE #EE5F4B #4BEE5F
tetradic
#5F4BEE #EE4B89 #DAEE4B #4BEEB1
square
#5F4BEE #EE4B89 #DAEE4B #4BEEB1
split-complementary
#5F4BEE #EEB14B #89EE4B
monochromatic
#2410AE #2F16E6 #5F4BEE #9183F3 #C2BBF9

Accessibility & contrast

On white

5.63
#5F4BEE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5F4BEE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BEE
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BEE#FFFFFF#000000##FFFFFF
##5F4BEE1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF3
Deuteranopia (green-blind)
#0061EB
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f4bee;
/* rgb */ color: rgb(95, 75, 238);
/* oklch */ color: oklch(53.7% 0.232 280.7);
Tailwind
colors: {
  custom: {
    50: '#9b7ff5',
    500: '#5f4bee',
    950: '#000000',
  },
}
SCSS
$custom: #5f4bee;
$custom-light: #9b7ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4bee",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 238
  },
  "hsl": {
    "h": 247.362,
    "s": 82.741,
    "l": 61.373
  },
  "oklch": {
    "l": 0.53731,
    "c": 0.23246,
    "h": 280.7
  },
  "luminance": 0.13638
}

Semantic roles & 50–950 ramp

primary
#5F4BEE
secondary
#E1E9AC
accent
#DF06C5
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F4BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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