#5D48EF#5D48EF

#5D48EF is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 53.2% C 0.237 H 280.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5D48EF
RGBrgb(93, 72, 239)
HSLhsl(248, 84%, 61%)
HSVhsv(248, 70%, 94%)
CMYKcmyk(61.1%, 69.9%, 0%, 6.3%)
CIE-LABlab(43.05, 54.34, -80.89)
CIE-LCHlch(43.05, 97.45, 303.89°)
OKLaboklab(53.25% 0.0426 -0.2333)
OKLCHoklch(53.25% 0.237 280.4)
XYZxyz(22.4066, 13.1922, 83.0102)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D48EF #DAEF48
analogous
#4886EF #5D48EF #B048EF
triadic
#5D48EF #EF5D48 #48EF5D
tetradic
#5D48EF #EF4886 #DAEF48 #48EFB0
square
#5D48EF #EF4886 #DAEF48 #48EFB0
split-complementary
#5D48EF #EFB048 #86EF48
monochromatic
#230FAD #2E14E6 #5D48EF #8F80F4 #C1B9F9

Accessibility & contrast

On white

5.77
#5D48EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#5D48EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D48EF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D48EF#FFFFFF#000000##FFFFFF
##5D48EF1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF4
Deuteranopia (green-blind)
#005FEC
Tritanopia (blue-blind)
#007597
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d48ef;
/* rgb */ color: rgb(93, 72, 239);
/* oklch */ color: oklch(53.2% 0.237 280.4);
Tailwind
colors: {
  custom: {
    50: '#9a7df6',
    500: '#5d48ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d48ef;
$custom-light: #9a7df6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d48ef",
  "rgb": {
    "r": 93,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 247.545,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.23714,
    "h": 280.4
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#5D48EF
secondary
#E1E9AA
accent
#E005C5
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5D48EF

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

Preview Lab → · Contrast checker → · Palette generator →

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