#5E5BDC#5E5BDC

#5E5BDC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.7% C 0.191 H 279.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5E5BDC
RGBrgb(94, 91, 220)
HSLhsl(241, 65%, 61%)
HSVhsv(241, 59%, 86%)
CMYKcmyk(57.3%, 58.6%, 0%, 13.7%)
CIE-LABlab(45.67, 37.74, -65.85)
CIE-LCHlch(45.67, 75.90, 299.82°)
OKLaboklab(54.7% 0.03 -0.1891)
OKLCHoklch(54.7% 0.191 279)
XYZxyz(21.2714, 15.0277, 69.4760)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5BDC #D9DC5B
analogous
#5B98DC #5E5BDC #9E5BDC
triadic
#5E5BDC #DC5E5B #5BDC5E
tetradic
#5E5BDC #DC5B98 #D9DC5B #5BDC9E
square
#5E5BDC #DC5B98 #D9DC5B #5BDC9E
split-complementary
#5E5BDC #DC9E5B #98DC5B
monochromatic
#24219B #302CCE #5E5BDC #908DE7 #C1C0F2

Accessibility & contrast

On white

5.24
#5E5BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5E5BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5BDC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5BDC#FFFFFF#000000##FFFFFF
##5E5BDC1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#0067D9
Tritanopia (blue-blind)
#0E7A93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e5bdc;
/* rgb */ color: rgb(94, 91, 220);
/* oklch */ color: oklch(54.7% 0.191 279.0);
Tailwind
colors: {
  custom: {
    50: '#9789e8',
    500: '#5e5bdc',
    950: '#000000',
  },
}
SCSS
$custom: #5e5bdc;
$custom-light: #9789e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5bdc",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 241.395,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.547,
    "c": 0.19144,
    "h": 279
  },
  "luminance": 0.15029
}

Semantic roles & 50–950 ramp

primary
#5E5BDC
secondary
#E1E2B1
accent
#CD19C8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5E5BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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