#5F48DA#5F48DA

#5F48DA is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.212 H 283.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#5F48DA
RGBrgb(95, 72, 218)
HSLhsl(249, 66%, 57%)
HSVhsv(249, 67%, 85%)
CMYKcmyk(56.4%, 67%, 0%, 14.5%)
CIE-LABlab(41.42, 48.34, -71.64)
CIE-LCHlch(41.42, 86.42, 304.01°)
OKLaboklab(51.57% 0.0486 -0.2061)
OKLCHoklch(51.57% 0.212 283.3)
XYZxyz(19.6877, 12.1284, 67.6197)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F48DA #C3DA48
analogous
#487ADA #5F48DA #A848DA
triadic
#5F48DA #DA5F48 #48DA5F
tetradic
#5F48DA #DA487A #C3DA48 #48DAA8
square
#5F48DA #DA487A #C3DA48 #48DAA8
split-complementary
#5F48DA #DAA848 #7ADA48
monochromatic
#2E1C8B #3E26BE #5F48DA #8C7BE4 #B8AEEF

Accessibility & contrast

On white

6.13
#5F48DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5F48DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F48DA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F48DA#FFFFFF#000000##FFFFFF
##5F48DA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005DD7
Tritanopia (blue-blind)
#1F6E8B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f48da;
/* rgb */ color: rgb(95, 72, 218);
/* oklch */ color: oklch(51.6% 0.212 283.3);
Tailwind
colors: {
  custom: {
    50: '#987de7',
    500: '#5f48da',
    950: '#000000',
  },
}
SCSS
$custom: #5f48da;
$custom-light: #987de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f48da",
  "rgb": {
    "r": 95,
    "g": 72,
    "b": 218
  },
  "hsl": {
    "h": 249.452,
    "s": 66.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.21174,
    "h": 283.3
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#5F48DA
secondary
#D3DDA1
accent
#E93FCE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F48DA

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

Preview Lab → · Contrast checker → · Palette generator →

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