#5D5BEA#5D5BEA

#5D5BEA is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 55.7% C 0.210 H 277.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#5D5BEA
RGBrgb(93, 91, 234)
HSLhsl(241, 77%, 64%)
HSVhsv(241, 61%, 92%)
CMYKcmyk(60.3%, 61.1%, 0%, 8.2%)
CIE-LABlab(46.64, 42.03, -72.20)
CIE-LCHlch(46.64, 83.54, 300.20°)
OKLaboklab(55.72% 0.0283 -0.2078)
OKLCHoklch(55.72% 0.21 277.8)
XYZxyz(23.1018, 15.7481, 79.6482)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5BEA #E8EA5B
analogous
#5BA0EA #5D5BEA #A45BEA
triadic
#5D5BEA #EA5D5B #5BEA5D
tetradic
#5D5BEA #EA5BA0 #E8EA5B #5BEAA4
square
#5D5BEA #EA5BA0 #E8EA5B #5BEAA4
split-complementary
#5D5BEA #EAA45B #A0EA5B
monochromatic
#1917B4 #2725E3 #5D5BEA #9391F1 #C8C8F8

Accessibility & contrast

On white

5.06
#5D5BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#5D5BEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5BEA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5BEA#FFFFFF#000000##FFFFFF
##5D5BEA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.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: #5d5bea;
/* rgb */ color: rgb(93, 91, 234);
/* oklch */ color: oklch(55.7% 0.210 277.8);
Tailwind
colors: {
  custom: {
    50: '#988af2',
    500: '#5d5bea',
    950: '#000000',
  },
}
SCSS
$custom: #5d5bea;
$custom-light: #988af2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5bea",
  "rgb": {
    "r": 93,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 240.839,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.55723,
    "c": 0.20968,
    "h": 277.8
  },
  "luminance": 0.1575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D5BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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