#5E56FF#5E56FF

#5E56FF is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.7% C 0.241 H 277.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5E56FF
RGBrgb(94, 86, 255)
HSLhsl(243, 100%, 67%)
HSVhsv(243, 66%, 100%)
CMYKcmyk(63.1%, 66.3%, 0%, 0%)
CIE-LABlab(47.30, 51.66, -82.87)
CIE-LCHlch(47.30, 97.65, 301.94°)
OKLaboklab(56.74% 0.0316 -0.239)
OKLCHoklch(56.74% 0.241 277.5)
XYZxyz(25.9880, 16.2531, 96.3560)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E56FF #F7FF56
analogous
#56A3FF #5E56FF #B256FF
triadic
#5E56FF #FF5E56 #56FF5E
tetradic
#5E56FF #FF56A3 #F7FF56 #56FFB2
square
#5E56FF #FF56A3 #F7FF56 #56FFB2
split-complementary
#5E56FF #FFB256 #A3FF56
monochromatic
#0A00DB #2419FF #5E56FF #9893FF #D3D0FF

Accessibility & contrast

On white

4.94
#5E56FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#5E56FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E56FF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E56FF#FFFFFF#000000##FFFFFF
##5E56FF1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0069FC
Tritanopia (blue-blind)
#0083A4
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e56ff;
/* rgb */ color: rgb(94, 86, 255);
/* oklch */ color: oklch(56.7% 0.241 277.5);
Tailwind
colors: {
  custom: {
    50: '#9d87ff',
    500: '#5e56ff',
    950: '#000000',
  },
}
SCSS
$custom: #5e56ff;
$custom-light: #9d87ff;
$custom-dark: #000000;
JSON
{
  "hex": "#5e56ff",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 242.84,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.24113,
    "h": 277.5
  },
  "luminance": 0.16255
}

Semantic roles & 50–950 ramp

primary
#5E56FF
secondary
#F1F3BD
accent
#E600DB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #5E56FF

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

Preview Lab → · Contrast checker → · Palette generator →

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