#4E7DC8#4E7DC8

#4E7DC8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.1% C 0.126 H 259.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4E7DC8
RGBrgb(78, 125, 200)
HSLhsl(217, 53%, 55%)
HSVhsv(217, 61%, 78%)
CMYKcmyk(61%, 37.5%, 0%, 21.6%)
CIE-LABlab(52.35, 7.17, -43.80)
CIE-LCHlch(52.35, 44.38, 279.30°)
OKLaboklab(59.12% -0.0233 -0.1243)
OKLCHoklch(59.12% 0.126 259.4)
XYZxyz(20.8972, 20.4552, 57.4794)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DC8 #C8994E
analogous
#4EBAC8 #4E7DC8 #5C4EC8
triadic
#4E7DC8 #C84E7D #7DC84E
tetradic
#4E7DC8 #C84EBA #C8994E #4EC85C
square
#4E7DC8 #C84EBA #C8994E #4EC85C
split-complementary
#4E7DC8 #C85C4E #BAC84E
monochromatic
#254477 #335FA5 #4E7DC8 #7D9FD7 #ABC2E5

Accessibility & contrast

On white

4.12
#4E7DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4E7DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DC8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DC8#FFFFFF#000000##000000
##4E7DC81.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7dc8;
/* rgb */ color: rgb(78, 125, 200);
/* oklch */ color: oklch(59.1% 0.126 259.4);
Tailwind
colors: {
  custom: {
    50: '#8aa2d9',
    500: '#4e7dc8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dc8;
$custom-light: #8aa2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dc8",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 216.885,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.12645,
    "h": 259.4
  },
  "luminance": 0.20457
}

Semantic roles & 50–950 ramp

primary
#4E7DC8
secondary
#D3BF9F
accent
#A44CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0F14
muted
#7D7E83

Preview Lab

Preview with #4E7DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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