#5E51FF#5E51FF

#5E51FF is a mid, highly saturated blue. Relative luminance 0.155; OKLCH L 56.0% C 0.246 H 278.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5E51FF
RGBrgb(94, 81, 255)
HSLhsl(244, 100%, 66%)
HSVhsv(244, 68%, 100%)
CMYKcmyk(63.1%, 68.2%, 0%, 0%)
CIE-LABlab(46.29, 54.43, -84.54)
CIE-LCHlch(46.29, 100.54, 302.78°)
OKLaboklab(56.01% 0.0351 -0.2439)
OKLCHoklch(56.01% 0.246 278.2)
XYZxyz(25.6027, 15.4825, 96.2276)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E51FF #F2FF51
analogous
#519BFF #5E51FF #B551FF
triadic
#5E51FF #FF5E51 #51FF5E
tetradic
#5E51FF #FF519B #F2FF51 #51FFB5
square
#5E51FF #FF519B #F2FF51 #51FFB5
split-complementary
#5E51FF #FFB551 #9BFF51
monochromatic
#1000D6 #2514FF #5E51FF #978EFF #CFCBFF

Accessibility & contrast

On white

5.13
#5E51FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5E51FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E51FF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E51FF#FFFFFF#000000##FFFFFF
##5E51FF1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0066FC
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e51ff;
/* rgb */ color: rgb(94, 81, 255);
/* oklch */ color: oklch(56.0% 0.246 278.2);
Tailwind
colors: {
  custom: {
    50: '#9d83ff',
    500: '#5e51ff',
    950: '#000000',
  },
}
SCSS
$custom: #5e51ff;
$custom-light: #9d83ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e51ff",
  "rgb": {
    "r": 94,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 244.483,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5601,
    "c": 0.24644,
    "h": 278.2
  },
  "luminance": 0.15485
}

Semantic roles & 50–950 ramp

primary
#5E51FF
secondary
#EEF3B9
accent
#E600D4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5E51FF

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

Preview Lab → · Contrast checker → · Palette generator →

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