#5E5ADD#5E5ADD

#5E5ADD is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.6% C 0.194 H 279.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#5E5ADD
RGBrgb(94, 90, 221)
HSLhsl(242, 66%, 61%)
HSVhsv(242, 59%, 87%)
CMYKcmyk(57.5%, 59.3%, 0%, 13.3%)
CIE-LABlab(45.51, 38.66, -66.68)
CIE-LCHlch(45.51, 77.08, 300.10°)
OKLaboklab(54.61% 0.0309 -0.1915)
OKLCHoklch(54.61% 0.194 279.2)
XYZxyz(21.3193, 14.9110, 70.1473)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5ADD #D9DD5A
analogous
#5A97DD #5E5ADD #9F5ADD
triadic
#5E5ADD #DD5E5A #5ADD5E
tetradic
#5E5ADD #DD5A97 #D9DD5A #5ADD9F
square
#5E5ADD #DD5A97 #D9DD5A #5ADD9F
split-complementary
#5E5ADD #DD9F5A #97DD5A
monochromatic
#24209C #302BCF #5E5ADD #908DE7 #C1BFF2

Accessibility & contrast

On white

5.27
#5E5ADD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#5E5ADD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5ADD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5ADD#FFFFFF#000000##FFFFFF
##5E5ADD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#0B7A93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5e5add;
/* rgb */ color: rgb(94, 90, 221);
/* oklch */ color: oklch(54.6% 0.194 279.2);
Tailwind
colors: {
  custom: {
    50: '#9789e8',
    500: '#5e5add',
    950: '#000000',
  },
}
SCSS
$custom: #5e5add;
$custom-light: #9789e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5add",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 221
  },
  "hsl": {
    "h": 241.832,
    "s": 65.829,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54605,
    "c": 0.19399,
    "h": 279.2
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E5ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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