#5F48D7#5F48D7

#5F48D7 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.3% C 0.208 H 283.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5F48D7
RGBrgb(95, 72, 215)
HSLhsl(250, 64%, 56%)
HSVhsv(250, 67%, 84%)
CMYKcmyk(55.8%, 66.5%, 0%, 15.7%)
CIE-LABlab(41.17, 47.44, -70.32)
CIE-LCHlch(41.17, 84.83, 304.01°)
OKLaboklab(51.32% 0.049 -0.2022)
OKLCHoklch(51.32% 0.208 283.6)
XYZxyz(19.2987, 11.9727, 65.5709)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F48D7 #C0D748
analogous
#4879D7 #5F48D7 #A748D7
triadic
#5F48D7 #D75F48 #48D75F
tetradic
#5F48D7 #D74879 #C0D748 #48D7A7
square
#5F48D7 #D74879 #C0D748 #48D7A7
split-complementary
#5F48D7 #D7A748 #79D748
monochromatic
#2F1E87 #4029B9 #5F48D7 #8B7AE2 #B7ACED

Accessibility & contrast

On white

6.19
#5F48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#5F48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F48D7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F48D7#FFFFFF#000000##FFFFFF
##5F48D71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#236D89
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f48d7;
/* rgb */ color: rgb(95, 72, 215);
/* oklch */ color: oklch(51.3% 0.208 283.6);
Tailwind
colors: {
  custom: {
    50: '#987de4',
    500: '#5f48d7',
    950: '#000000',
  },
}
SCSS
$custom: #5f48d7;
$custom-light: #987de4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f48d7",
  "rgb": {
    "r": 95,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 249.65,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.20808,
    "h": 283.6
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#5F48D7
secondary
#D1DBA0
accent
#E741CC
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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