#4E7CC7#4E7CC7

#4E7CC7 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.8% C 0.126 H 259.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4E7CC7
RGBrgb(78, 124, 199)
HSLhsl(217, 52%, 54%)
HSVhsv(217, 61%, 78%)
CMYKcmyk(60.8%, 37.7%, 0%, 22%)
CIE-LABlab(52.01, 7.44, -43.76)
CIE-LCHlch(52.01, 44.39, 279.65°)
OKLaboklab(58.85% -0.0225 -0.1242)
OKLCHoklch(58.85% 0.126 259.7)
XYZxyz(20.6547, 20.1567, 56.8239)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CC7 #C7994E
analogous
#4EB9C7 #4E7CC7 #5D4EC7
triadic
#4E7CC7 #C74E7C #7CC74E
tetradic
#4E7CC7 #C74EB9 #C7994E #4EC75D
square
#4E7CC7 #C74EB9 #C7994E #4EC75D
split-complementary
#4E7CC7 #C75D4E #B9C74E
monochromatic
#254475 #345EA4 #4E7CC7 #7C9ED6 #ABC1E4

Accessibility & contrast

On white

4.17
#4E7CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4E7CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CC7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CC7#FFFFFF#000000##000000
##4E7CC71.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CA
Deuteranopia (green-blind)
#4B77C5
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7cc7;
/* rgb */ color: rgb(78, 124, 199);
/* oklch */ color: oklch(58.8% 0.126 259.7);
Tailwind
colors: {
  custom: {
    50: '#8aa1d8',
    500: '#4e7cc7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cc7;
$custom-light: #8aa1d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cc7",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 199
  },
  "hsl": {
    "h": 217.19,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58847,
    "c": 0.12619,
    "h": 259.7
  },
  "luminance": 0.20159
}

Semantic roles & 50–950 ramp

primary
#4E7CC7
secondary
#D2BF9F
accent
#A54CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4E7CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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