#5D48D2#5D48D2

#5D48D2 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.7% C 0.202 H 283.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5D48D2
RGBrgb(93, 72, 210)
HSLhsl(249, 61%, 55%)
HSVhsv(249, 66%, 82%)
CMYKcmyk(55.7%, 65.7%, 0%, 17.6%)
CIE-LABlab(40.60, 45.61, -68.40)
CIE-LCHlch(40.60, 82.21, 303.70°)
OKLaboklab(50.73% 0.047 -0.1966)
OKLCHoklch(50.73% 0.202 283.4)
XYZxyz(18.4609, 11.6139, 62.2292)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48D2 #BDD248
analogous
#4878D2 #5D48D2 #A248D2
triadic
#5D48D2 #D25D48 #48D25D
tetradic
#5D48D2 #D24878 #BDD248 #48D2A2
square
#5D48D2 #D24878 #BDD248 #48D2A2
split-complementary
#5D48D2 #D2A248 #78D248
monochromatic
#2E2080 #402CB1 #5D48D2 #8879DE #B4AAEA

Accessibility & contrast

On white

6.32
#5D48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5D48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48D2
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48D2#FFFFFF#000000##FFFFFF
##5D48D21.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#246B87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d48d2;
/* rgb */ color: rgb(93, 72, 210);
/* oklch */ color: oklch(50.7% 0.202 283.4);
Tailwind
colors: {
  custom: {
    50: '#967ce1',
    500: '#5d48d2',
    950: '#000000',
  },
}
SCSS
$custom: #5d48d2;
$custom-light: #967ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48d2",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 249.13,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50732,
    "c": 0.20219,
    "h": 283.4
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#5D48D2
secondary
#CFD89E
accent
#E444CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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