#5E48D2#5E48D2

#5E48D2 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.8% C 0.202 H 283.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#5E48D2
RGBrgb(94, 72, 210)
HSLhsl(250, 61%, 55%)
HSVhsv(250, 66%, 82%)
CMYKcmyk(55.2%, 65.7%, 0%, 17.6%)
CIE-LABlab(40.68, 45.78, -68.25)
CIE-LCHlch(40.68, 82.18, 303.85°)
OKLaboklab(50.81% 0.0483 -0.1962)
OKLCHoklch(50.81% 0.202 283.8)
XYZxyz(18.5628, 11.6665, 62.2340)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48D2 #BCD248
analogous
#4877D2 #5E48D2 #A348D2
triadic
#5E48D2 #D25E48 #48D25E
tetradic
#5E48D2 #D24877 #BCD248 #48D2A3
square
#5E48D2 #D24877 #BCD248 #48D2A3
split-complementary
#5E48D2 #D2A348 #77D248
monochromatic
#2F2080 #412CB1 #5E48D2 #8979DE #B4AAEA

Accessibility & contrast

On white

6.30
#5E48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5E48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48D2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48D2#FFFFFF#000000##FFFFFF
##5E48D21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e48d2;
/* rgb */ color: rgb(94, 72, 210);
/* oklch */ color: oklch(50.8% 0.202 283.8);
Tailwind
colors: {
  custom: {
    50: '#967ce1',
    500: '#5e48d2',
    950: '#000000',
  },
}
SCSS
$custom: #5e48d2;
$custom-light: #967ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48d2",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 249.565,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50814,
    "c": 0.20206,
    "h": 283.8
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#5E48D2
secondary
#CFD89E
accent
#E444CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #5E48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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