#5F49ED#5F49ED

#5F49ED is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.4% C 0.233 H 281.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#5F49ED
RGBrgb(95, 73, 237)
HSLhsl(248, 82%, 61%)
HSVhsv(248, 69%, 93%)
CMYKcmyk(59.9%, 69.2%, 0%, 7.1%)
CIE-LABlab(43.23, 53.47, -79.47)
CIE-LCHlch(43.23, 95.79, 303.94°)
OKLaboklab(53.36% 0.0448 -0.2291)
OKLCHoklch(53.36% 0.233 281.1)
XYZxyz(22.3831, 13.3108, 81.4941)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49ED #D7ED49
analogous
#4985ED #5F49ED #B149ED
triadic
#5F49ED #ED5F49 #49ED5F
tetradic
#5F49ED #ED4985 #D7ED49 #49EDB1
square
#5F49ED #ED4985 #D7ED49 #49EDB1
split-complementary
#5F49ED #EDB149 #85ED49
monochromatic
#2611AB #3216E2 #5F49ED #9081F3 #C1B8F8

Accessibility & contrast

On white

5.73
#5F49ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5F49ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49ED
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49ED#FFFFFF#000000##FFFFFF
##5F49ED1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF2
Deuteranopia (green-blind)
#0060EA
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f49ed;
/* rgb */ color: rgb(95, 73, 237);
/* oklch */ color: oklch(53.4% 0.233 281.1);
Tailwind
colors: {
  custom: {
    50: '#9b7ef4',
    500: '#5f49ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f49ed;
$custom-light: #9b7ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49ed",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 237
  },
  "hsl": {
    "h": 248.049,
    "s": 82,
    "l": 60.784
  },
  "oklch": {
    "l": 0.53362,
    "c": 0.23341,
    "h": 281.1
  },
  "luminance": 0.13312
}

Semantic roles & 50–950 ramp

primary
#5F49ED
secondary
#E0E8AA
accent
#DE07C2
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F49ED

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

Preview Lab → · Contrast checker → · Palette generator →

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