#5E4FDC#5E4FDC

#5E4FDC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.206 H 281.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5E4FDC
RGBrgb(94, 79, 220)
HSLhsl(246, 67%, 59%)
HSVhsv(246, 64%, 86%)
CMYKcmyk(57.3%, 64.1%, 0%, 13.7%)
CIE-LABlab(42.97, 44.82, -70.25)
CIE-LCHlch(42.97, 83.33, 302.54°)
OKLaboklab(52.72% 0.041 -0.202)
OKLCHoklch(52.72% 0.206 281.5)
XYZxyz(20.3263, 13.1376, 69.1610)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FDC #CDDC4F
analogous
#4F86DC #5E4FDC #A44FDC
triadic
#5E4FDC #DC5E4F #4FDC5E
tetradic
#5E4FDC #DC4F86 #CDDC4F #4FDCA4
square
#5E4FDC #DC4F86 #CDDC4F #4FDCA4
split-complementary
#5E4FDC #DCA44F #86DC4F
monochromatic
#2A1D93 #3827C6 #5E4FDC #8D82E6 #BBB5F0

Accessibility & contrast

On white

5.79
#5E4FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5E4FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FDC
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FDC#FFFFFF#000000##FFFFFF
##5E4FDC1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#13728E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e4fdc;
/* rgb */ color: rgb(94, 79, 220);
/* oklch */ color: oklch(52.7% 0.206 281.5);
Tailwind
colors: {
  custom: {
    50: '#9781e8',
    500: '#5e4fdc',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fdc;
$custom-light: #9781e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fdc",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 220
  },
  "hsl": {
    "h": 246.383,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52721,
    "c": 0.20617,
    "h": 281.5
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#5E4FDC
secondary
#D9DFA8
accent
#EA3ED7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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