#5E51DF#5E51DF

#5E51DF is a mid, highly saturated blue. Relative luminance 0.136; OKLCH L 53.3% C 0.208 H 280.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#5E51DF
RGBrgb(94, 81, 223)
HSLhsl(245, 69%, 60%)
HSVhsv(245, 64%, 87%)
CMYKcmyk(57.8%, 63.7%, 0%, 12.5%)
CIE-LABlab(43.64, 44.59, -70.87)
CIE-LCHlch(43.64, 83.73, 302.18°)
OKLaboklab(53.28% 0.039 -0.2038)
OKLCHoklch(53.28% 0.208 280.8)
XYZxyz(20.8736, 13.5908, 71.3211)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E51DF #D2DF51
analogous
#518BDF #5E51DF #A551DF
triadic
#5E51DF #DF5E51 #51DF5E
tetradic
#5E51DF #DF518B #D2DF51 #51DFA5
square
#5E51DF #DF518B #D2DF51 #51DFA5
split-complementary
#5E51DF #DFA551 #8BDF51
monochromatic
#281C99 #3526CD #5E51DF #8E85E9 #BEB8F2

Accessibility & contrast

On white

5.65
#5E51DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5E51DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E51DF
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E51DF#FFFFFF#000000##FFFFFF
##5E51DF1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#087591
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5e51df;
/* rgb */ color: rgb(94, 81, 223);
/* oklch */ color: oklch(53.3% 0.208 280.8);
Tailwind
colors: {
  custom: {
    50: '#9883ea',
    500: '#5e51df',
    950: '#000000',
  },
}
SCSS
$custom: #5e51df;
$custom-light: #9883ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5e51df",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 245.493,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53282,
    "c": 0.20754,
    "h": 280.8
  },
  "luminance": 0.13592
}

Semantic roles & 50–950 ramp

primary
#5E51DF
secondary
#DCE1AA
accent
#EC3CDC
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5E51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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