#4E7EC5#4E7EC5

#4E7EC5 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.2% C 0.121 H 258.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E7EC5
RGBrgb(78, 126, 197)
HSLhsl(216, 51%, 54%)
HSVhsv(216, 60%, 77%)
CMYKcmyk(60.4%, 36%, 0%, 22.7%)
CIE-LABlab(52.48, 5.56, -41.88)
CIE-LCHlch(52.48, 42.25, 277.56°)
OKLaboklab(59.17% -0.0251 -0.1187)
OKLCHoklch(59.17% 0.121 258)
XYZxyz(20.6772, 20.5708, 55.6934)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7EC5 #C5954E
analogous
#4EBAC5 #4E7EC5 #5A4EC5
triadic
#4E7EC5 #C54E7E #7EC54E
tetradic
#4E7EC5 #C54EBA #C5954E #4EC55A
square
#4E7EC5 #C54EBA #C5954E #4EC55A
split-complementary
#4E7EC5 #C55A4E #BAC54E
monochromatic
#264573 #3560A1 #4E7EC5 #7CA0D4 #AAC1E3

Accessibility & contrast

On white

4.11
#4E7EC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4E7EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7EC5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7EC5#FFFFFF#000000##000000
##4E7EC51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6083C8
Deuteranopia (green-blind)
#5078C4
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7ec5;
/* rgb */ color: rgb(78, 126, 197);
/* oklch */ color: oklch(59.2% 0.121 258.0);
Tailwind
colors: {
  custom: {
    50: '#89a3d7',
    500: '#4e7ec5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ec5;
$custom-light: #89a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ec5",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 215.798,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59173,
    "c": 0.1213,
    "h": 258
  },
  "luminance": 0.20573
}

Semantic roles & 50–950 ramp

primary
#4E7EC5
secondary
#D1BC9E
accent
#A14EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4E7EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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