#4E7ED4#4E7ED4

#4E7ED4 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.142 H 261.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4E7ED4
RGBrgb(78, 126, 212)
HSLhsl(219, 61%, 57%)
HSVhsv(219, 63%, 83%)
CMYKcmyk(63.2%, 40.6%, 0%, 16.9%)
CIE-LABlab(53.27, 10.65, -49.15)
CIE-LCHlch(53.27, 50.29, 282.23°)
OKLaboklab(60.05% -0.0217 -0.1399)
OKLCHoklch(60.05% 0.142 261.2)
XYZxyz(22.4822, 21.2928, 65.1997)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ED4 #D4A44E
analogous
#4EC1D4 #4E7ED4 #614ED4
triadic
#4E7ED4 #D44E7E #7ED44E
tetradic
#4E7ED4 #D44EC1 #D4A44E #4ED461
square
#4E7ED4 #D44EC1 #D4A44E #4ED461
split-complementary
#4E7ED4 #D4614E #C1D44E
monochromatic
#214587 #2D5FB8 #4E7ED4 #7FA2E0 #B0C6EC

Accessibility & contrast

On white

3.99
#4E7ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4E7ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ED4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ED4#FFFFFF#000000##000000
##4E7ED41.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D7
Deuteranopia (green-blind)
#4479D2
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7ed4;
/* rgb */ color: rgb(78, 126, 212);
/* oklch */ color: oklch(60.0% 0.142 261.2);
Tailwind
colors: {
  custom: {
    50: '#8ca2e2',
    500: '#4e7ed4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ed4;
$custom-light: #8ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ed4",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 212
  },
  "hsl": {
    "h": 218.507,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60046,
    "c": 0.14161,
    "h": 261.2
  },
  "luminance": 0.21295
}

Semantic roles & 50–950 ramp

primary
#4E7ED4
secondary
#DAC7A4
accent
#AB44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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