#5E48CD#5E48CD

#5E48CD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.4% C 0.196 H 284.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5E48CD
RGBrgb(94, 72, 205)
HSLhsl(250, 57%, 54%)
HSVhsv(250, 65%, 80%)
CMYKcmyk(54.1%, 64.9%, 0%, 19.6%)
CIE-LABlab(40.28, 44.27, -66.02)
CIE-LCHlch(40.28, 79.49, 303.85°)
OKLaboklab(50.4% 0.0489 -0.1896)
OKLCHoklch(50.4% 0.196 284.5)
XYZxyz(17.9496, 11.4212, 59.0045)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48CD #B7CD48
analogous
#4875CD #5E48CD #A148CD
triadic
#5E48CD #CD5E48 #48CD5E
tetradic
#5E48CD #CD4875 #B7CD48 #48CDA1
square
#5E48CD #CD4875 #B7CD48 #48CDA1
split-complementary
#5E48CD #CDA148 #75CD48
monochromatic
#302179 #432EA9 #5E48CD #8878DA #B3A8E7

Accessibility & contrast

On white

6.39
#5E48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5E48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48CD
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48CD#FFFFFF#000000##FFFFFF
##5E48CD1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005BCA
Tritanopia (blue-blind)
#2D6984
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e48cd;
/* rgb */ color: rgb(94, 72, 205);
/* oklch */ color: oklch(50.4% 0.196 284.5);
Tailwind
colors: {
  custom: {
    50: '#967cdd',
    500: '#5e48cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e48cd;
$custom-light: #967cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48cd",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 249.925,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50401,
    "c": 0.19585,
    "h": 284.5
  },
  "luminance": 0.11422
}

Semantic roles & 50–950 ramp

primary
#5E48CD
secondary
#CBD59C
accent
#E047C7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5E48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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