#5E7CD6#5E7CD6

#5E7CD6 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.6% C 0.141 H 268.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#5E7CD6
RGBrgb(94, 124, 214)
HSLhsl(225, 59%, 60%)
HSVhsv(225, 56%, 84%)
CMYKcmyk(56.1%, 42.1%, 0%, 16.1%)
CIE-LABlab(53.65, 15.62, -49.62)
CIE-LCHlch(53.65, 52.02, 287.47°)
OKLaboklab(60.6% -0.0046 -0.141)
OKLCHoklch(60.6% 0.141 268.1)
XYZxyz(23.9573, 21.6482, 66.5213)
Luminance0.2165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7CD6 #D6B85E
analogous
#5EB8D6 #5E7CD6 #7C5ED6
triadic
#5E7CD6 #D65E7C #7CD65E
tetradic
#5E7CD6 #D65EB8 #D6B85E #5ED67C
square
#5E7CD6 #D65EB8 #D6B85E #5ED67C
split-complementary
#5E7CD6 #D67C5E #B8D65E
monochromatic
#264194 #3257C5 #5E7CD6 #8FA4E2 #C0CBEF

Accessibility & contrast

On white

3.94
#5E7CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#5E7CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7CD6
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7CD6#FFFFFF#000000##000000
##5E7CD61.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5586D9
Deuteranopia (green-blind)
#467BD4
Tritanopia (blue-blind)
#0F909E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e7cd6;
/* rgb */ color: rgb(94, 124, 214);
/* oklch */ color: oklch(60.6% 0.141 268.1);
Tailwind
colors: {
  custom: {
    50: '#94a1e3',
    500: '#5e7cd6',
    950: '#000000',
  },
}
SCSS
$custom: #5e7cd6;
$custom-light: #94a1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7cd6",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 225,
    "s": 59.406,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.1411,
    "h": 268.1
  },
  "luminance": 0.2165
}

Semantic roles & 50–950 ramp

primary
#5E7CD6
secondary
#DFD3B1
accent
#9D1EC7
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5E7CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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