#4E7EC7#4E7EC7

#4E7EC7 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.3% C 0.124 H 258.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#4E7EC7
RGBrgb(78, 126, 199)
HSLhsl(216, 52%, 54%)
HSVhsv(216, 61%, 78%)
CMYKcmyk(60.8%, 36.7%, 0%, 22%)
CIE-LABlab(52.58, 6.23, -42.86)
CIE-LCHlch(52.58, 43.31, 278.27°)
OKLaboklab(59.29% -0.0246 -0.1215)
OKLCHoklch(59.29% 0.124 258.5)
XYZxyz(20.9079, 20.6631, 56.9083)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EC7 #C7974E
analogous
#4EBBC7 #4E7EC7 #5B4EC7
triadic
#4E7EC7 #C74E7E #7EC74E
tetradic
#4E7EC7 #C74EBB #C7974E #4EC75B
square
#4E7EC7 #C74EBB #C7974E #4EC75B
split-complementary
#4E7EC7 #C75B4E #BBC74E
monochromatic
#254575 #3460A4 #4E7EC7 #7CA0D6 #ABC2E4

Accessibility & contrast

On white

4.09
#4E7EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#4E7EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EC7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EC7#FFFFFF#000000##000000
##4E7EC71.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F84CA
Deuteranopia (green-blind)
#4F78C5
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7ec7;
/* rgb */ color: rgb(78, 126, 199);
/* oklch */ color: oklch(59.3% 0.124 258.5);
Tailwind
colors: {
  custom: {
    50: '#8aa3d8',
    500: '#4e7ec7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ec7;
$custom-light: #8aa3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ec7",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 216.198,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59286,
    "c": 0.124,
    "h": 258.5
  },
  "luminance": 0.20665
}

Semantic roles & 50–950 ramp

primary
#4E7EC7
secondary
#D2BE9F
accent
#A34CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #4E7EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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