#5E7AE4#5E7AE4

#5E7AE4 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.1% C 0.163 H 269.9°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5E7AE4
RGBrgb(94, 122, 228)
HSLhsl(227, 71%, 63%)
HSVhsv(227, 59%, 89%)
CMYKcmyk(58.8%, 46.5%, 0%, 10.6%)
CIE-LABlab(53.92, 21.42, -57.07)
CIE-LCHlch(53.92, 60.95, 290.57°)
OKLaboklab(61.06% -0.0003 -0.1629)
OKLCHoklch(61.06% 0.163 269.9)
XYZxyz(25.5745, 21.8981, 76.2628)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AE4 #E4C85E
analogous
#5EBDE4 #5E7AE4 #855EE4
triadic
#5E7AE4 #E45E7A #7AE45E
tetradic
#5E7AE4 #E45EBD #E4C85E #5EE485
square
#5E7AE4 #E45EBD #E4C85E #5EE485
split-complementary
#5E7AE4 #E4855E #BDE45E
monochromatic
#1D3AAB #2A4FDB #5E7AE4 #92A5ED #C7D1F6

Accessibility & contrast

On white

3.90
#5E7AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5E7AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AE4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AE4#FFFFFF#000000##000000
##5E7AE41.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4787E8
Deuteranopia (green-blind)
#327BE2
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e7ae4;
/* rgb */ color: rgb(94, 122, 228);
/* oklch */ color: oklch(61.1% 0.163 269.9);
Tailwind
colors: {
  custom: {
    50: '#96a0ed',
    500: '#5e7ae4',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ae4;
$custom-light: #96a0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ae4",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 227.463,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6106,
    "c": 0.16293,
    "h": 269.9
  },
  "luminance": 0.219
}

Semantic roles & 50–950 ramp

primary
#5E7AE4
secondary
#E7DDB7
accent
#AB12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E7AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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