#4E7EEB#4E7EEB

#4E7EEB is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.5% C 0.173 H 264.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4E7EEB
RGBrgb(78, 126, 235)
HSLhsl(222, 80%, 61%)
HSVhsv(222, 67%, 92%)
CMYKcmyk(66.8%, 46.4%, 0%, 7.8%)
CIE-LABlab(54.59, 18.60, -59.94)
CIE-LCHlch(54.59, 62.76, 287.24°)
OKLaboklab(61.49% -0.0177 -0.1716)
OKLCHoklch(61.49% 0.173 264.1)
XYZxyz(25.5929, 22.5370, 81.5825)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EEB #EBBB4E
analogous
#4ECDEB #4E7EEB #6D4EEB
triadic
#4E7EEB #EB4E7E #7EEB4E
tetradic
#4E7EEB #EB4ECD #EBBB4E #4EEB6D
square
#4E7EEB #EB4ECD #EBBB4E #4EEB6D
split-complementary
#4E7EEB #EB6D4E #CDEB4E
monochromatic
#1342AB #1A57E2 #4E7EEB #85A6F1 #BCCEF7

Accessibility & contrast

On white

3.81
#4E7EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4E7EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EEB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EEB#FFFFFF#000000##000000
##4E7EEB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468AEF
Deuteranopia (green-blind)
#257CE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e7eeb;
/* rgb */ color: rgb(78, 126, 235);
/* oklch */ color: oklch(61.5% 0.173 264.1);
Tailwind
colors: {
  custom: {
    50: '#90a2f2',
    500: '#4e7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7eeb;
$custom-light: #90a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7eeb",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 221.656,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.17255,
    "h": 264.1
  },
  "luminance": 0.2254
}

Semantic roles & 50–950 ramp

primary
#4E7EEB
secondary
#E8D6AD
accent
#9C09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4E7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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