#5E5BEA#5E5BEA

#5E5BEA is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.8% C 0.209 H 278.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5E5BEA
RGBrgb(94, 91, 234)
HSLhsl(241, 77%, 64%)
HSVhsv(241, 61%, 92%)
CMYKcmyk(59.8%, 61.1%, 0%, 8.2%)
CIE-LABlab(46.71, 42.19, -72.09)
CIE-LCHlch(46.71, 83.52, 300.34°)
OKLaboklab(55.79% 0.0295 -0.2074)
OKLCHoklch(55.79% 0.209 278.1)
XYZxyz(23.2037, 15.8006, 79.6530)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BEA #E7EA5B
analogous
#5B9FEA #5E5BEA #A55BEA
triadic
#5E5BEA #EA5E5B #5BEA5E
tetradic
#5E5BEA #EA5B9F #E7EA5B #5BEAA5
square
#5E5BEA #EA5B9F #E7EA5B #5BEAA5
split-complementary
#5E5BEA #EAA55B #9FEA5B
monochromatic
#1A17B4 #2925E3 #5E5BEA #9391F1 #C9C8F8

Accessibility & contrast

On white

5.05
#5E5BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5E5BEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BEA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BEA#FFFFFF#000000##FFFFFF
##5E5BEA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0069E7
Tritanopia (blue-blind)
#007E9A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e5bea;
/* rgb */ color: rgb(94, 91, 234);
/* oklch */ color: oklch(55.8% 0.209 278.1);
Tailwind
colors: {
  custom: {
    50: '#998af2',
    500: '#5e5bea',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bea;
$custom-light: #998af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bea",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 241.259,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.20948,
    "h": 278.1
  },
  "luminance": 0.15802
}

Semantic roles & 50–950 ramp

primary
#5E5BEA
secondary
#E9EAB7
accent
#DA0CD5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5E5BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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