#4E7AEB#4E7AEB

#4E7AEB is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.177 H 265.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4E7AEB
RGBrgb(78, 122, 235)
HSLhsl(223, 80%, 61%)
HSVhsv(223, 67%, 92%)
CMYKcmyk(66.8%, 48.1%, 0%, 7.8%)
CIE-LABlab(53.53, 21.05, -61.65)
CIE-LCHlch(53.53, 65.15, 288.86°)
OKLaboklab(60.68% -0.0141 -0.1767)
OKLCHoklch(60.68% 0.177 265.4)
XYZxyz(25.0916, 21.5345, 81.4154)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AEB #EBBF4E
analogous
#4EC8EB #4E7AEB #714EEB
triadic
#4E7AEB #EB4E7A #7AEB4E
tetradic
#4E7AEB #EB4EC8 #EBBF4E #4EEB71
square
#4E7AEB #EB4EC8 #EBBF4E #4EEB71
split-complementary
#4E7AEB #EB714E #C8EB4E
monochromatic
#133EAB #1A52E2 #4E7AEB #85A3F1 #BCCDF7

Accessibility & contrast

On white

3.96
#4E7AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4E7AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AEB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AEB#FFFFFF#000000##000000
##4E7AEB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EF
Deuteranopia (green-blind)
#1279E9
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7aeb;
/* rgb */ color: rgb(78, 122, 235);
/* oklch */ color: oklch(60.7% 0.177 265.4);
Tailwind
colors: {
  custom: {
    50: '#909ff2',
    500: '#4e7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7aeb;
$custom-light: #909ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7aeb",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 223.185,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6068,
    "c": 0.17729,
    "h": 265.4
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#4E7AEB
secondary
#E8D7AD
accent
#A109DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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