#5F48DC#5F48DC

#5F48DC is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.214 H 283.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5F48DC
RGBrgb(95, 72, 220)
HSLhsl(249, 68%, 57%)
HSVhsv(249, 67%, 86%)
CMYKcmyk(56.8%, 67.3%, 0%, 13.7%)
CIE-LABlab(41.59, 48.94, -72.51)
CIE-LCHlch(41.59, 87.48, 304.02°)
OKLaboklab(51.74% 0.0483 -0.2086)
OKLCHoklch(51.74% 0.214 283)
XYZxyz(19.9510, 12.2337, 69.0063)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F48DC #C5DC48
analogous
#487BDC #5F48DC #A948DC
triadic
#5F48DC #DC5F48 #48DC5F
tetradic
#5F48DC #DC487B #C5DC48 #48DCA9
square
#5F48DC #DC487B #C5DC48 #48DCA9
split-complementary
#5F48DC #DCA948 #7BDC48
monochromatic
#2D1B8E #3D25C2 #5F48DC #8C7BE6 #B9AFF0

Accessibility & contrast

On white

6.09
#5F48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5F48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F48DC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F48DC#FFFFFF#000000##FFFFFF
##5F48DC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#1B6E8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f48dc;
/* rgb */ color: rgb(95, 72, 220);
/* oklch */ color: oklch(51.7% 0.214 283.0);
Tailwind
colors: {
  custom: {
    50: '#987de8',
    500: '#5f48dc',
    950: '#000000',
  },
}
SCSS
$custom: #5f48dc;
$custom-light: #987de8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f48dc",
  "rgb": {
    "r": 95,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 249.324,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.21417,
    "h": 283
  },
  "luminance": 0.12235
}

Semantic roles & 50–950 ramp

primary
#5F48DC
secondary
#D5DEA2
accent
#EB3DD0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F48DC

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

Preview Lab → · Contrast checker → · Palette generator →

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