#4E8AEB#4E8AEB

#4E8AEB is a light, vivid blue. Relative luminance 0.258; OKLCH L 64.0% C 0.159 H 259.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4E8AEB
RGBrgb(78, 138, 235)
HSLhsl(217, 80%, 61%)
HSVhsv(217, 67%, 92%)
CMYKcmyk(66.8%, 41.3%, 0%, 7.8%)
CIE-LABlab(57.84, 11.30, -54.75)
CIE-LCHlch(57.84, 55.90, 281.67°)
OKLaboklab(63.99% -0.0288 -0.1562)
OKLCHoklch(63.99% 0.159 259.6)
XYZxyz(27.2204, 25.7921, 82.1250)
Luminance0.2580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8AEB #EBAF4E
analogous
#4ED9EB #4E8AEB #614EEB
triadic
#4E8AEB #EB4E8A #8AEB4E
tetradic
#4E8AEB #EB4ED9 #EBAF4E #4EEB61
square
#4E8AEB #EB4ED9 #EBAF4E #4EEB61
split-complementary
#4E8AEB #EB614E #D9EB4E
monochromatic
#134DAB #1A66E2 #4E8AEB #85AEF1 #BCD3F7

Accessibility & contrast

On white

3.41
#4E8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#4E8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8AEB
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8AEB#FFFFFF#000000##000000
##4E8AEB1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#4484E9
Tritanopia (blue-blind)
#00A0AF
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #4e8aeb;
/* rgb */ color: rgb(78, 138, 235);
/* oklch */ color: oklch(64.0% 0.159 259.6);
Tailwind
colors: {
  custom: {
    50: '#8fabf2',
    500: '#4e8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #4e8aeb;
$custom-light: #8fabf2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8aeb",
  "rgb": {
    "r": 78,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 217.07,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63993,
    "c": 0.15882,
    "h": 259.6
  },
  "luminance": 0.25795
}

Semantic roles & 50–950 ramp

primary
#4E8AEB
secondary
#E8D1AD
accent
#8C09DC
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #4E8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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