#5D5EE9#5D5EE9

#5D5EE9 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.1% C 0.205 H 277.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5D5EE9
RGBrgb(93, 94, 233)
HSLhsl(240, 76%, 64%)
HSVhsv(240, 60%, 91%)
CMYKcmyk(60.1%, 59.7%, 0%, 8.6%)
CIE-LABlab(47.25, 39.92, -70.64)
CIE-LCHlch(47.25, 81.14, 299.47°)
OKLaboklab(56.15% 0.0258 -0.2032)
OKLCHoklch(56.15% 0.205 277.2)
XYZxyz(23.2201, 16.2140, 78.9810)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EE9 #E9E85D
analogous
#5DA4E9 #5D5EE9 #A25DE9
triadic
#5D5EE9 #E95D5E #5EE95D
tetradic
#5D5EE9 #E95DA4 #E9E85D #5DE9A2
square
#5D5EE9 #E95DA4 #E9E85D #5DE9A2
split-complementary
#5D5EE9 #E9A25D #A4E95D
monochromatic
#1819B3 #2728E2 #5D5EE9 #9394F0 #C9C9F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D5EE9#FFFFFF#000000##FFFFFF
##5D5EE91.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)
#0076EE
Deuteranopia (green-blind)
#006AE6
Tritanopia (blue-blind)
#00809B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d5ee9;
/* rgb */ color: rgb(93, 94, 233);
/* oklch */ color: oklch(56.1% 0.205 277.2);
Tailwind
colors: {
  custom: {
    50: '#988cf1',
    500: '#5d5ee9',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ee9;
$custom-light: #988cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ee9",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 233
  },
  "hsl": {
    "h": 239.571,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.20479,
    "h": 277.2
  },
  "luminance": 0.16216
}

Semantic roles & 50–950 ramp

primary
#5D5EE9
secondary
#E9E9B8
accent
#D70DD8
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D5EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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