#5F48D8#5F48D8

#5F48D8 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.4% C 0.209 H 283.5°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5F48D8
RGBrgb(95, 72, 216)
HSLhsl(250, 65%, 56%)
HSVhsv(250, 67%, 85%)
CMYKcmyk(56%, 66.7%, 0%, 15.3%)
CIE-LABlab(41.25, 47.74, -70.76)
CIE-LCHlch(41.25, 85.36, 304.01°)
OKLaboklab(51.4% 0.0489 -0.2035)
OKLCHoklch(51.4% 0.209 283.5)
XYZxyz(19.4275, 12.0243, 66.2496)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F48D8 #C1D848
analogous
#4879D8 #5F48D8 #A748D8
triadic
#5F48D8 #D85F48 #48D85F
tetradic
#5F48D8 #D84879 #C1D848 #48D8A7
square
#5F48D8 #D84879 #C1D848 #48D8A7
split-complementary
#5F48D8 #D8A748 #79D848
monochromatic
#2E1D89 #3F28BB #5F48D8 #8B7AE3 #B7ADEE

Accessibility & contrast

On white

6.17
#5F48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5F48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F48D8
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F48D8#FFFFFF#000000##FFFFFF
##5F48D81.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#226D8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f48d8;
/* rgb */ color: rgb(95, 72, 216);
/* oklch */ color: oklch(51.4% 0.209 283.5);
Tailwind
colors: {
  custom: {
    50: '#987de5',
    500: '#5f48d8',
    950: '#000000',
  },
}
SCSS
$custom: #5f48d8;
$custom-light: #987de5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f48d8",
  "rgb": {
    "r": 95,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 249.583,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51401,
    "c": 0.20931,
    "h": 283.5
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

primary
#5F48D8
secondary
#D2DBA0
accent
#E840CD
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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