#4E7CC8#4E7CC8

#4E7CC8 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.9% C 0.128 H 259.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E7CC8
RGBrgb(78, 124, 200)
HSLhsl(217, 53%, 55%)
HSVhsv(217, 61%, 78%)
CMYKcmyk(61%, 38%, 0%, 21.6%)
CIE-LABlab(52.07, 7.78, -44.24)
CIE-LCHlch(52.07, 44.92, 279.97°)
OKLaboklab(58.9% -0.0223 -0.1256)
OKLCHoklch(58.9% 0.128 259.9)
XYZxyz(20.7712, 20.2033, 57.4374)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CC8 #C89A4E
analogous
#4EB9C8 #4E7CC8 #5D4EC8
triadic
#4E7CC8 #C84E7C #7CC84E
tetradic
#4E7CC8 #C84EB9 #C89A4E #4EC85D
square
#4E7CC8 #C84EB9 #C89A4E #4EC85D
split-complementary
#4E7CC8 #C85D4E #B9C84E
monochromatic
#254477 #335EA5 #4E7CC8 #7D9FD7 #ABC1E5

Accessibility & contrast

On white

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

On black

5.04
#4E7CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CC8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CC8#FFFFFF#000000##000000
##4E7CC81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7cc8;
/* rgb */ color: rgb(78, 124, 200);
/* oklch */ color: oklch(58.9% 0.128 259.9);
Tailwind
colors: {
  custom: {
    50: '#8aa1d9',
    500: '#4e7cc8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cc8;
$custom-light: #8aa1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cc8",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 200
  },
  "hsl": {
    "h": 217.377,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.12755,
    "h": 259.9
  },
  "luminance": 0.20205
}

Semantic roles & 50–950 ramp

primary
#4E7CC8
secondary
#D3BF9F
accent
#A64CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4E7CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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