#5E7AEC#5E7AEC

#5E7AEC is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.6% C 0.174 H 270.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5E7AEC
RGBrgb(94, 122, 236)
HSLhsl(228, 79%, 65%)
HSVhsv(228, 60%, 93%)
CMYKcmyk(60.2%, 48.3%, 0%, 7.5%)
CIE-LABlab(54.40, 24.06, -60.77)
CIE-LCHlch(54.40, 65.36, 291.60°)
OKLaboklab(61.58% 0.0007 -0.1738)
OKLCHoklch(61.58% 0.174 270.2)
XYZxyz(26.7109, 22.3527, 82.2475)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AEC #ECD05E
analogous
#5EC1EC #5E7AEC #895EEC
triadic
#5E7AEC #EC5E7A #7AEC5E
tetradic
#5E7AEC #EC5EC1 #ECD05E #5EEC89
square
#5E7AEC #EC5EC1 #ECD05E #5EEC89
split-complementary
#5E7AEC #EC895E #C1EC5E
monochromatic
#1636BA #274DE6 #5E7AEC #95A7F2 #CBD4F9

Accessibility & contrast

On white

3.84
#5E7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#5E7AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AEC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AEC#FFFFFF#000000##000000
##5E7AEC1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F89F0
Deuteranopia (green-blind)
#247CEA
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5e7aec;
/* rgb */ color: rgb(94, 122, 236);
/* oklch */ color: oklch(61.6% 0.174 270.2);
Tailwind
colors: {
  custom: {
    50: '#97a0f3',
    500: '#5e7aec',
    950: '#000000',
  },
}
SCSS
$custom: #5e7aec;
$custom-light: #97a0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7aec",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 228.169,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6158,
    "c": 0.17381,
    "h": 270.2
  },
  "luminance": 0.22355
}

Semantic roles & 50–950 ramp

primary
#5E7AEC
secondary
#EBE2BB
accent
#B20ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5E7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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