#5F4CF0#5F4CF0

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

Color values

HEX#5F4CF0
RGBrgb(95, 76, 240)
HSLhsl(247, 85%, 62%)
HSVhsv(247, 68%, 94%)
CMYKcmyk(60.4%, 68.3%, 0%, 5.9%)
CIE-LABlab(44.08, 52.75, -79.77)
CIE-LCHlch(44.08, 95.63, 303.48°)
OKLaboklab(54.05% 0.0422 -0.2299)
OKLCHoklch(54.05% 0.234 280.4)
XYZxyz(23.0270, 13.8914, 83.8890)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F4CF0 #DDF04C
analogous
#4C8BF0 #5F4CF0 #B14CF0
triadic
#5F4CF0 #F05F4C #4CF05F
tetradic
#5F4CF0 #F04C8B #DDF04C #4CF0B1
square
#5F4CF0 #F04C8B #DDF04C #4CF0B1
split-complementary
#5F4CF0 #F0B14C #8BF04C
monochromatic
#220FB3 #2D14EB #5F4CF0 #9184F5 #C4BDF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F4CF0#FFFFFF#000000##FFFFFF
##5F4CF01.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)
#006EF5
Deuteranopia (green-blind)
#0062ED
Tritanopia (blue-blind)
#007898
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5f4cf0;
/* rgb */ color: rgb(95, 76, 240);
/* oklch */ color: oklch(54.0% 0.234 280.4);
Tailwind
colors: {
  custom: {
    50: '#9b80f6',
    500: '#5f4cf0',
    950: '#000000',
  },
}
SCSS
$custom: #5f4cf0;
$custom-light: #9b80f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f4cf0",
  "rgb": {
    "r": 95,
    "g": 76,
    "b": 240
  },
  "hsl": {
    "h": 246.951,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.54048,
    "c": 0.23377,
    "h": 280.4
  },
  "luminance": 0.13893
}

Semantic roles & 50–950 ramp

primary
#5F4CF0
secondary
#E3EAAE
accent
#E104C7
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F4CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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