#5F4BEC#5F4BEC

#5F4BEC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.6% C 0.230 H 280.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5F4BEC
RGBrgb(95, 75, 236)
HSLhsl(247, 81%, 61%)
HSVhsv(247, 68%, 93%)
CMYKcmyk(59.7%, 68.2%, 0%, 7.5%)
CIE-LABlab(43.54, 52.09, -78.40)
CIE-LCHlch(43.54, 94.13, 303.60°)
OKLaboklab(53.56% 0.0435 -0.2259)
OKLCHoklch(53.56% 0.23 280.9)
XYZxyz(22.3709, 13.5196, 80.7713)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4BEC #D8EC4B
analogous
#4B87EC #5F4BEC #AF4BEC
triadic
#5F4BEC #EC5F4B #4BEC5F
tetradic
#5F4BEC #EC4B87 #D8EC4B #4BECAF
square
#5F4BEC #EC4B87 #D8EC4B #4BECAF
split-complementary
#5F4BEC #ECAF4B #87EC4B
monochromatic
#2512AB #3118E2 #5F4BEC #9082F2 #C1BAF8

Accessibility & contrast

On white

5.67
#5F4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5F4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F4BEC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F4BEC#FFFFFF#000000##FFFFFF
##5F4BEC1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#0061E9
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f4bec;
/* rgb */ color: rgb(95, 75, 236);
/* oklch */ color: oklch(53.6% 0.230 280.9);
Tailwind
colors: {
  custom: {
    50: '#9b7ff3',
    500: '#5f4bec',
    950: '#000000',
  },
}
SCSS
$custom: #5f4bec;
$custom-light: #9b7ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4bec",
  "rgb": {
    "r": 95,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 247.453,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.23008,
    "h": 280.9
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#5F4BEC
secondary
#E0E8AB
accent
#DD08C3
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5F4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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