#5E7AE7#5E7AE7

#5E7AE7 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.3% C 0.167 H 270.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#5E7AE7
RGBrgb(94, 122, 231)
HSLhsl(228, 74%, 64%)
HSVhsv(228, 59%, 91%)
CMYKcmyk(59.3%, 47.2%, 0%, 9.4%)
CIE-LABlab(54.10, 22.41, -58.46)
CIE-LCHlch(54.10, 62.61, 290.97°)
OKLaboklab(61.25% 0.0001 -0.167)
OKLCHoklch(61.25% 0.167 270)
XYZxyz(25.9946, 22.0662, 78.4752)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AE7 #E7CB5E
analogous
#5EBEE7 #5E7AE7 #865EE7
triadic
#5E7AE7 #E75E7A #7AE75E
tetradic
#5E7AE7 #E75EBE #E7CB5E #5EE786
square
#5E7AE7 #E75EBE #E7CB5E #5EE786
split-complementary
#5E7AE7 #E7865E #BEE75E
monochromatic
#1A39B0 #294EDF #5E7AE7 #93A6EF #C9D2F7

Accessibility & contrast

On white

3.88
#5E7AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#5E7AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AE7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AE7#FFFFFF#000000##000000
##5E7AE71.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4488EB
Deuteranopia (green-blind)
#2D7CE5
Tritanopia (blue-blind)
#0093A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e7ae7;
/* rgb */ color: rgb(94, 122, 231);
/* oklch */ color: oklch(61.3% 0.167 270.0);
Tailwind
colors: {
  custom: {
    50: '#97a0ef',
    500: '#5e7ae7',
    950: '#000000',
  },
}
SCSS
$custom: #5e7ae7;
$custom-light: #97a0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7ae7",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 231
  },
  "hsl": {
    "h": 227.737,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61253,
    "c": 0.16702,
    "h": 270
  },
  "luminance": 0.22068
}

Semantic roles & 50–950 ramp

primary
#5E7AE7
secondary
#E9DFB8
accent
#AE0FD6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5E7AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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