#5E7AEA#5E7AEA

#5E7AEA is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.4% C 0.171 H 270.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5E7AEA
RGBrgb(94, 122, 234)
HSLhsl(228, 77%, 64%)
HSVhsv(228, 60%, 92%)
CMYKcmyk(59.8%, 47.9%, 0%, 8.2%)
CIE-LABlab(54.28, 23.40, -59.85)
CIE-LCHlch(54.28, 64.26, 291.36°)
OKLaboklab(61.45% 0.0005 -0.1711)
OKLCHoklch(61.45% 0.171 270.2)
XYZxyz(26.4219, 22.2371, 80.7258)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AEA #EACE5E
analogous
#5EC0EA #5E7AEA #885EEA
triadic
#5E7AEA #EA5E7A #7AEA5E
tetradic
#5E7AEA #EA5EC0 #EACE5E #5EEA88
square
#5E7AEA #EA5EC0 #EACE5E #5EEA88
split-complementary
#5E7AEA #EA885E #C0EA5E
monochromatic
#1837B6 #284DE3 #5E7AEA #94A7F1 #CAD3F8

Accessibility & contrast

On white

3.85
#5E7AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5E7AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AEA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AEA#FFFFFF#000000##000000
##5E7AEA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188EE
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#0093A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e7aea;
/* rgb */ color: rgb(94, 122, 234);
/* oklch */ color: oklch(61.4% 0.171 270.2);
Tailwind
colors: {
  custom: {
    50: '#97a0f1',
    500: '#5e7aea',
    950: '#000000',
  },
}
SCSS
$custom: #5e7aea;
$custom-light: #97a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7aea",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 228,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61448,
    "c": 0.1711,
    "h": 270.2
  },
  "luminance": 0.22239
}

Semantic roles & 50–950 ramp

primary
#5E7AEA
secondary
#EAE0BA
accent
#B00CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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