#4E7DC7#4E7DC7

#4E7DC7 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.1% C 0.125 H 259.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E7DC7
RGBrgb(78, 125, 199)
HSLhsl(217, 52%, 54%)
HSVhsv(217, 61%, 78%)
CMYKcmyk(60.8%, 37.2%, 0%, 22%)
CIE-LABlab(52.30, 6.84, -43.31)
CIE-LCHlch(52.30, 43.85, 278.97°)
OKLaboklab(59.07% -0.0236 -0.1228)
OKLCHoklch(59.07% 0.125 259.1)
XYZxyz(20.7807, 20.4086, 56.8659)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DC7 #C7984E
analogous
#4EBAC7 #4E7DC7 #5C4EC7
triadic
#4E7DC7 #C74E7D #7DC74E
tetradic
#4E7DC7 #C74EBA #C7984E #4EC75C
square
#4E7DC7 #C74EBA #C7984E #4EC75C
split-complementary
#4E7DC7 #C75C4E #BAC74E
monochromatic
#254475 #345FA4 #4E7DC7 #7C9FD6 #ABC1E4

Accessibility & contrast

On white

4.13
#4E7DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4E7DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DC7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DC7#FFFFFF#000000##000000
##4E7DC71.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#4D78C5
Tritanopia (blue-blind)
#008E98
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7dc7;
/* rgb */ color: rgb(78, 125, 199);
/* oklch */ color: oklch(59.1% 0.125 259.1);
Tailwind
colors: {
  custom: {
    50: '#8aa2d8',
    500: '#4e7dc7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dc7;
$custom-light: #8aa2d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dc7",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 199
  },
  "hsl": {
    "h": 216.694,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59066,
    "c": 0.12509,
    "h": 259.1
  },
  "luminance": 0.2041
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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