#5E4FDF#5E4FDF

#5E4FDF is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.0% C 0.210 H 281.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5E4FDF
RGBrgb(94, 79, 223)
HSLhsl(246, 69%, 59%)
HSVhsv(246, 65%, 87%)
CMYKcmyk(57.8%, 64.6%, 0%, 12.5%)
CIE-LABlab(43.21, 45.75, -71.57)
CIE-LCHlch(43.21, 84.94, 302.59°)
OKLaboklab(52.97% 0.0407 -0.2059)
OKLCHoklch(52.97% 0.21 281.2)
XYZxyz(20.7272, 13.2980, 71.2723)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4FDF #D0DF4F
analogous
#4F88DF #5E4FDF #A64FDF
triadic
#5E4FDF #DF5E4F #4FDF5E
tetradic
#5E4FDF #DF4F88 #D0DF4F #4FDFA6
square
#5E4FDF #DF4F88 #D0DF4F #4FDFA6
split-complementary
#5E4FDF #DFA64F #88DF4F
monochromatic
#291C98 #3625CC #5E4FDF #8D83E8 #BDB7F2

Accessibility & contrast

On white

5.74
#5E4FDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#5E4FDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4FDF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4FDF#FFFFFF#000000##FFFFFF
##5E4FDF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#097390
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5e4fdf;
/* rgb */ color: rgb(94, 79, 223);
/* oklch */ color: oklch(53.0% 0.210 281.2);
Tailwind
colors: {
  custom: {
    50: '#9881ea',
    500: '#5e4fdf',
    950: '#000000',
  },
}
SCSS
$custom: #5e4fdf;
$custom-light: #9881ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4fdf",
  "rgb": {
    "r": 94,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 246.25,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52969,
    "c": 0.2099,
    "h": 281.2
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#5E4FDF
secondary
#DBE1A9
accent
#EC3CDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E4FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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