#4E7ED5#4E7ED5

#4E7ED5 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.1% C 0.143 H 261.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4E7ED5
RGBrgb(78, 126, 213)
HSLhsl(219, 62%, 57%)
HSVhsv(219, 63%, 84%)
CMYKcmyk(63.4%, 40.8%, 0%, 16.5%)
CIE-LABlab(53.32, 10.99, -49.62)
CIE-LCHlch(53.32, 50.83, 282.49°)
OKLaboklab(60.11% -0.0215 -0.1413)
OKLCHoklch(60.11% 0.143 261.3)
XYZxyz(22.6088, 21.3434, 65.8661)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ED5 #D5A54E
analogous
#4EC1D5 #4E7ED5 #624ED5
triadic
#4E7ED5 #D54E7E #7ED54E
tetradic
#4E7ED5 #D54EC1 #D5A54E #4ED562
square
#4E7ED5 #D54EC1 #D5A54E #4ED562
split-complementary
#4E7ED5 #D5624E #C1D54E
monochromatic
#204588 #2C5EBA #4E7ED5 #7FA2E1 #B1C6EC

Accessibility & contrast

On white

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

On black

5.27
#4E7ED5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ED5
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ED5#FFFFFF#000000##000000
##4E7ED51.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5786D8
Deuteranopia (green-blind)
#437AD3
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7ed5;
/* rgb */ color: rgb(78, 126, 213);
/* oklch */ color: oklch(60.1% 0.143 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ca2e2',
    500: '#4e7ed5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ed5;
$custom-light: #8ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ed5",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 213
  },
  "hsl": {
    "h": 218.667,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60106,
    "c": 0.14296,
    "h": 261.3
  },
  "luminance": 0.21346
}

Semantic roles & 50–950 ramp

primary
#4E7ED5
secondary
#DBC7A4
accent
#AB43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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