#5E7AE6#5E7AE6

#5E7AE6 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.2% C 0.166 H 270.0°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#5E7AE6
RGBrgb(94, 122, 230)
HSLhsl(228, 73%, 64%)
HSVhsv(228, 59%, 90%)
CMYKcmyk(59.1%, 47%, 0%, 9.8%)
CIE-LABlab(54.04, 22.08, -58.00)
CIE-LCHlch(54.04, 62.06, 290.84°)
OKLaboklab(61.19% 0 -0.1657)
OKLCHoklch(61.19% 0.166 270)
XYZxyz(25.8538, 22.0098, 77.7335)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AE6 #E6CA5E
analogous
#5EBEE6 #5E7AE6 #865EE6
triadic
#5E7AE6 #E65E7A #7AE65E
tetradic
#5E7AE6 #E65EBE #E6CA5E #5EE686
square
#5E7AE6 #E65EBE #E6CA5E #5EE686
split-complementary
#5E7AE6 #E6865E #BEE65E
monochromatic
#1B39AF #294EDE #5E7AE6 #93A6EE #C8D2F6

Accessibility & contrast

On white

3.89
#5E7AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#5E7AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AE6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AE6#FFFFFF#000000##000000
##5E7AE61.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4588EA
Deuteranopia (green-blind)
#2F7BE4
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e7ae6;
/* rgb */ color: rgb(94, 122, 230);
/* oklch */ color: oklch(61.2% 0.166 270.0);
Tailwind
colors: {
  custom: {
    50: '#97a0ee',
    500: '#5e7ae6',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ae6;
$custom-light: #97a0ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ae6",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 230
  },
  "hsl": {
    "h": 227.647,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61188,
    "c": 0.16566,
    "h": 270
  },
  "luminance": 0.22012
}

Semantic roles & 50–950 ramp

primary
#5E7AE6
secondary
#E8DEB8
accent
#AD10D5
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E7AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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