#5F48ED#5F48ED

#5F48ED is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.2% C 0.234 H 281.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5F48ED
RGBrgb(95, 72, 237)
HSLhsl(248, 82%, 61%)
HSVhsv(248, 70%, 93%)
CMYKcmyk(59.9%, 69.6%, 0%, 7.1%)
CIE-LABlab(43.03, 54.01, -79.79)
CIE-LCHlch(43.03, 96.35, 304.09°)
OKLaboklab(53.22% 0.0456 -0.23)
OKLCHoklch(53.22% 0.234 281.2)
XYZxyz(22.3179, 13.1805, 81.4724)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F48ED #D6ED48
analogous
#4883ED #5F48ED #B248ED
triadic
#5F48ED #ED5F48 #48ED5F
tetradic
#5F48ED #ED4883 #D6ED48 #48EDB2
square
#5F48ED #ED4883 #D6ED48 #48EDB2
split-complementary
#5F48ED #EDB248 #83ED48
monochromatic
#2611AA #3316E2 #5F48ED #9080F2 #C0B7F8

Accessibility & contrast

On white

5.77
#5F48ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5F48ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F48ED
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F48ED#FFFFFF#000000##FFFFFF
##5F48ED1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f48ed;
/* rgb */ color: rgb(95, 72, 237);
/* oklch */ color: oklch(53.2% 0.234 281.2);
Tailwind
colors: {
  custom: {
    50: '#9b7df4',
    500: '#5f48ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f48ed;
$custom-light: #9b7df4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f48ed",
  "rgb": {
    "r": 95,
    "g": 72,
    "b": 237
  },
  "hsl": {
    "h": 248.364,
    "s": 82.09,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53223,
    "c": 0.23446,
    "h": 281.2
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#5F48ED
secondary
#DFE8A9
accent
#DE07C0
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F48ED

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

Preview Lab → · Contrast checker → · Palette generator →

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