#4E7CD8#4E7CD8

#4E7CD8 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.9% C 0.149 H 262.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E7CD8
RGBrgb(78, 124, 216)
HSLhsl(220, 64%, 58%)
HSVhsv(220, 64%, 85%)
CMYKcmyk(63.9%, 42.6%, 0%, 15.3%)
CIE-LABlab(52.94, 13.25, -51.93)
CIE-LCHlch(52.94, 53.59, 284.31°)
OKLaboklab(59.86% -0.0189 -0.1481)
OKLCHoklch(59.86% 0.149 262.7)
XYZxyz(22.7399, 20.9907, 67.8057)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CD8 #D8AA4E
analogous
#4EC1D8 #4E7CD8 #654ED8
triadic
#4E7CD8 #D84E7C #7CD84E
tetradic
#4E7CD8 #D84EC1 #D8AA4E #4ED865
square
#4E7CD8 #D84EC1 #D8AA4E #4ED865
split-complementary
#4E7CD8 #D8654E #C1D84E
monochromatic
#1F448D #2A5CBF #4E7CD8 #80A1E3 #B2C6EE

Accessibility & contrast

On white

4.04
#4E7CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4E7CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CD8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CD8#FFFFFF#000000##000000
##4E7CD81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DC
Deuteranopia (green-blind)
#3C78D6
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7cd8;
/* rgb */ color: rgb(78, 124, 216);
/* oklch */ color: oklch(59.9% 0.149 262.7);
Tailwind
colors: {
  custom: {
    50: '#8ca1e4',
    500: '#4e7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cd8;
$custom-light: #8ca1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cd8",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 220,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59864,
    "c": 0.14933,
    "h": 262.7
  },
  "luminance": 0.20993
}

Semantic roles & 50–950 ramp

primary
#4E7CD8
secondary
#DDCAA5
accent
#B041E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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