#5E48CF#5E48CF

#5E48CF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.6% C 0.198 H 284.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5E48CF
RGBrgb(94, 72, 207)
HSLhsl(250, 58%, 55%)
HSVhsv(250, 65%, 81%)
CMYKcmyk(54.6%, 65.2%, 0%, 18.8%)
CIE-LABlab(40.44, 44.88, -66.92)
CIE-LCHlch(40.44, 80.57, 303.85°)
OKLaboklab(50.57% 0.0487 -0.1923)
OKLCHoklch(50.57% 0.198 284.2)
XYZxyz(18.1925, 11.5184, 60.2840)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E48CF #B9CF48
analogous
#4875CF #5E48CF #A248CF
triadic
#5E48CF #CF5E48 #48CF5E
tetradic
#5E48CF #CF4875 #B9CF48 #48CFA2
square
#5E48CF #CF4875 #B9CF48 #48CFA2
split-complementary
#5E48CF #CFA248 #75CF48
monochromatic
#2F217C #422DAD #5E48CF #8978DC #B3A9E8

Accessibility & contrast

On white

6.36
#5E48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5E48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E48CF
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E48CF#FFFFFF#000000##FFFFFF
##5E48CF1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#2B6A85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5e48cf;
/* rgb */ color: rgb(94, 72, 207);
/* oklch */ color: oklch(50.6% 0.198 284.2);
Tailwind
colors: {
  custom: {
    50: '#967cdf',
    500: '#5e48cf',
    950: '#000000',
  },
}
SCSS
$custom: #5e48cf;
$custom-light: #967cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5e48cf",
  "rgb": {
    "r": 94,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 249.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50565,
    "c": 0.19834,
    "h": 284.2
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

primary
#5E48CF
secondary
#CDD69D
accent
#E246C8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5E48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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