#4E7EE8#4E7EE8

#4E7EE8 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.169 H 263.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4E7EE8
RGBrgb(78, 126, 232)
HSLhsl(221, 77%, 61%)
HSVhsv(221, 66%, 91%)
CMYKcmyk(66.4%, 45.7%, 0%, 9%)
CIE-LABlab(54.41, 17.55, -58.56)
CIE-LCHlch(54.41, 61.13, 286.69°)
OKLaboklab(61.3% -0.0181 -0.1676)
OKLCHoklch(61.3% 0.169 263.8)
XYZxyz(25.1631, 22.3651, 79.3191)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EE8 #E8B84E
analogous
#4ECBE8 #4E7EE8 #6B4EE8
triadic
#4E7EE8 #E84E7E #7EE84E
tetradic
#4E7EE8 #E84ECB #E8B84E #4EE86B
square
#4E7EE8 #E84ECB #E8B84E #4EE86B
split-complementary
#4E7EE8 #E86B4E #CBE84E
monochromatic
#1643A6 #1D58DC #4E7EE8 #84A5EF #BACDF6

Accessibility & contrast

On white

3.84
#4E7EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4E7EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EE8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EE8#FFFFFF#000000##000000
##4E7EE81.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)
#498AEC
Deuteranopia (green-blind)
#2A7CE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e7ee8;
/* rgb */ color: rgb(78, 126, 232);
/* oklch */ color: oklch(61.3% 0.169 263.8);
Tailwind
colors: {
  custom: {
    50: '#8fa2f0',
    500: '#4e7ee8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ee8;
$custom-light: #8fa2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ee8",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 221.299,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61297,
    "c": 0.16855,
    "h": 263.8
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

primary
#4E7EE8
secondary
#E6D4AC
accent
#990CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4E7EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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