#4E7ED8#4E7ED8

#4E7ED8 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.3% C 0.147 H 261.8°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4E7ED8
RGBrgb(78, 126, 216)
HSLhsl(219, 64%, 58%)
HSVhsv(219, 64%, 85%)
CMYKcmyk(63.9%, 41.7%, 0%, 15.3%)
CIE-LABlab(53.49, 12.02, -51.05)
CIE-LCHlch(53.49, 52.45, 283.25°)
OKLaboklab(60.29% -0.0209 -0.1455)
OKLCHoklch(60.29% 0.147 261.8)
XYZxyz(22.9930, 21.4971, 67.8901)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ED8 #D8A84E
analogous
#4EC3D8 #4E7ED8 #634ED8
triadic
#4E7ED8 #D84E7E #7ED84E
tetradic
#4E7ED8 #D84EC3 #D8A84E #4ED863
square
#4E7ED8 #D84EC3 #D8A84E #4ED863
split-complementary
#4E7ED8 #D8634E #C3D84E
monochromatic
#1F458D #2A5EBF #4E7ED8 #80A3E3 #B2C7EE

Accessibility & contrast

On white

3.96
#4E7ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4E7ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ED8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ED8#FFFFFF#000000##000000
##4E7ED81.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5587DC
Deuteranopia (green-blind)
#407AD6
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7ed8;
/* rgb */ color: rgb(78, 126, 216);
/* oklch */ color: oklch(60.3% 0.147 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ca2e4',
    500: '#4e7ed8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ed8;
$custom-light: #8ca2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ed8",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 216
  },
  "hsl": {
    "h": 219.13,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60288,
    "c": 0.14702,
    "h": 261.8
  },
  "luminance": 0.21499
}

Semantic roles & 50–950 ramp

primary
#4E7ED8
secondary
#DDC9A5
accent
#AD41E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F16
muted
#7E7E84

Preview Lab

Preview with #4E7ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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