#5E8AEB#5E8AEB

#5E8AEB is a light, vivid blue. Relative luminance 0.266; OKLCH L 64.7% C 0.153 H 264.2°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5E8AEB
RGBrgb(94, 138, 235)
HSLhsl(221, 78%, 65%)
HSVhsv(221, 60%, 92%)
CMYKcmyk(60%, 41.3%, 0%, 7.8%)
CIE-LABlab(58.56, 14.05, -53.56)
CIE-LCHlch(58.56, 55.37, 284.70°)
OKLaboklab(64.74% -0.0155 -0.1524)
OKLCHoklch(64.74% 0.153 264.2)
XYZxyz(28.6948, 26.5523, 82.1941)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8AEB #EBBF5E
analogous
#5ED0EB #5E8AEB #795EEB
triadic
#5E8AEB #EB5E8A #8AEB5E
tetradic
#5E8AEB #EB5ED0 #EBBF5E #5EEB79
square
#5E8AEB #EB5ED0 #EBBF5E #5EEB79
split-complementary
#5E8AEB #EB795E #D0EB5E
monochromatic
#1749B8 #2862E4 #5E8AEB #94B2F2 #CBD9F9

Accessibility & contrast

On white

3.33
#5E8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#5E8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8AEB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8AEB#FFFFFF#000000##000000
##5E8AEB1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5e8aeb;
/* rgb */ color: rgb(94, 138, 235);
/* oklch */ color: oklch(64.7% 0.153 264.2);
Tailwind
colors: {
  custom: {
    50: '#97abf2',
    500: '#5e8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5e8aeb;
$custom-light: #97abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8aeb",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 221.277,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64744,
    "c": 0.15323,
    "h": 264.2
  },
  "luminance": 0.26555
}

Semantic roles & 50–950 ramp

primary
#5E8AEB
secondary
#EBDCBA
accent
#9A0BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5E8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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