#5E7AED#5E7AED

#5E7AED is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.175 H 270.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#5E7AED
RGBrgb(94, 122, 237)
HSLhsl(228, 80%, 65%)
HSVhsv(228, 60%, 93%)
CMYKcmyk(60.3%, 48.5%, 0%, 7.1%)
CIE-LABlab(54.46, 24.39, -61.23)
CIE-LCHlch(54.46, 65.91, 291.72°)
OKLaboklab(61.65% 0.0008 -0.1752)
OKLCHoklch(61.65% 0.175 270.3)
XYZxyz(26.8566, 22.4109, 83.0148)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AED #EDD15E
analogous
#5EC1ED #5E7AED #8A5EED
triadic
#5E7AED #ED5E7A #7AED5E
tetradic
#5E7AED #ED5EC1 #EDD15E #5EED8A
square
#5E7AED #ED5EC1 #EDD15E #5EED8A
split-complementary
#5E7AED #ED8A5E #C1ED5E
monochromatic
#1536BC #274DE7 #5E7AED #95A7F3 #CCD5F9

Accessibility & contrast

On white

3.83
#5E7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#5E7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AED
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AED#FFFFFF#000000##000000
##5E7AED1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E89F1
Deuteranopia (green-blind)
#217CEB
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e7aed;
/* rgb */ color: rgb(94, 122, 237);
/* oklch */ color: oklch(61.6% 0.175 270.3);
Tailwind
colors: {
  custom: {
    50: '#98a0f3',
    500: '#5e7aed',
    950: '#000000',
  },
}
SCSS
$custom: #5e7aed;
$custom-light: #98a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7aed",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 228.252,
    "s": 79.888,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.17516,
    "h": 270.3
  },
  "luminance": 0.22413
}

Semantic roles & 50–950 ramp

primary
#5E7AED
secondary
#ECE2BB
accent
#B309DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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