#5E5FE5#5E5FE5

#5E5FE5 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 56.1% C 0.198 H 277.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5E5FE5
RGBrgb(94, 95, 229)
HSLhsl(240, 72%, 63%)
HSVhsv(240, 59%, 90%)
CMYKcmyk(59%, 58.5%, 0%, 10.2%)
CIE-LABlab(47.26, 38.21, -68.37)
CIE-LCHlch(47.26, 78.32, 299.20°)
OKLaboklab(56.08% 0.0261 -0.1965)
OKLCHoklch(56.08% 0.198 277.6)
XYZxyz(22.8466, 16.2196, 76.0403)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5FE5 #E5E45E
analogous
#5EA2E5 #5E5FE5 #A15EE5
triadic
#5E5FE5 #E55E5F #5FE55E
tetradic
#5E5FE5 #E55EA2 #E5E45E #5EE5A1
square
#5E5FE5 #E55EA2 #E5E45E #5EE5A1
split-complementary
#5E5FE5 #E5A15E #A2E55E
monochromatic
#1C1DAD #292BDC #5E5FE5 #9393EE #C7C8F6

Accessibility & contrast

On white

4.95
#5E5FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5E5FE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5FE5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5FE5#FFFFFF#000000##FFFFFF
##5E5FE51.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5e5fe5;
/* rgb */ color: rgb(94, 95, 229);
/* oklch */ color: oklch(56.1% 0.198 277.6);
Tailwind
colors: {
  custom: {
    50: '#988cee',
    500: '#5e5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #5e5fe5;
$custom-light: #988cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5fe5",
  "rgb": {
    "r": 94,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 239.556,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.19818,
    "h": 277.6
  },
  "luminance": 0.16221
}

Semantic roles & 50–950 ramp

primary
#5E5FE5
secondary
#E7E7B7
accent
#D311D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #5E5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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