#5D48CC#5D48CC

#5D48CC is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.2% C 0.195 H 284.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#5D48CC
RGBrgb(93, 72, 204)
HSLhsl(250, 56%, 54%)
HSVhsv(250, 65%, 80%)
CMYKcmyk(54.4%, 64.7%, 0%, 20%)
CIE-LABlab(40.12, 43.80, -65.72)
CIE-LCHlch(40.12, 78.97, 303.68°)
OKLaboklab(50.23% 0.0477 -0.1888)
OKLCHoklch(50.23% 0.195 284.2)
XYZxyz(17.7273, 11.3205, 58.3660)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48CC #B7CC48
analogous
#4875CC #5D48CC #9F48CC
triadic
#5D48CC #CC5D48 #48CC5D
tetradic
#5D48CC #CC4875 #B7CC48 #48CC9F
square
#5D48CC #CC4875 #B7CC48 #48CC9F
split-complementary
#5D48CC #CC9F48 #75CC48
monochromatic
#2F2178 #422FA8 #5D48CC #8778D9 #B2A8E7

Accessibility & contrast

On white

6.43
#5D48CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5D48CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48CC
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48CC#FFFFFF#000000##FFFFFF
##5D48CC1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#2B6983
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d48cc;
/* rgb */ color: rgb(93, 72, 204);
/* oklch */ color: oklch(50.2% 0.195 284.2);
Tailwind
colors: {
  custom: {
    50: '#957cdd',
    500: '#5d48cc',
    950: '#000000',
  },
}
SCSS
$custom: #5d48cc;
$custom-light: #957cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48cc",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 204
  },
  "hsl": {
    "h": 249.545,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.19471,
    "h": 284.2
  },
  "luminance": 0.11322
}

Semantic roles & 50–950 ramp

primary
#5D48CC
secondary
#CBD49C
accent
#E048C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5D48CC

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

Preview Lab → · Contrast checker → · Palette generator →

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