#4E7ED6#4E7ED6

#4E7ED6 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.2% C 0.144 H 261.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4E7ED6
RGBrgb(78, 126, 214)
HSLhsl(219, 62%, 57%)
HSVhsv(219, 64%, 84%)
CMYKcmyk(63.6%, 41.1%, 0%, 16.1%)
CIE-LABlab(53.38, 11.34, -50.10)
CIE-LCHlch(53.38, 51.37, 282.75°)
OKLaboklab(60.17% -0.0213 -0.1427)
OKLCHoklch(60.17% 0.144 261.5)
XYZxyz(22.7361, 21.3943, 66.5366)
Luminance0.2140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ED6 #D6A64E
analogous
#4EC2D6 #4E7ED6 #624ED6
triadic
#4E7ED6 #D64E7E #7ED64E
tetradic
#4E7ED6 #D64EC2 #D6A64E #4ED662
square
#4E7ED6 #D64EC2 #D6A64E #4ED662
split-complementary
#4E7ED6 #D6624E #C2D64E
monochromatic
#20458A #2B5EBB #4E7ED6 #80A2E2 #B1C6ED

Accessibility & contrast

On white

3.98
#4E7ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#4E7ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ED6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ED6#FFFFFF#000000##000000
##4E7ED61.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5686D9
Deuteranopia (green-blind)
#427AD4
Tritanopia (blue-blind)
#00929F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7ed6;
/* rgb */ color: rgb(78, 126, 214);
/* oklch */ color: oklch(60.2% 0.144 261.5);
Tailwind
colors: {
  custom: {
    50: '#8ca2e3',
    500: '#4e7ed6',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ed6;
$custom-light: #8ca2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ed6",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 214
  },
  "hsl": {
    "h": 218.824,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.14431,
    "h": 261.5
  },
  "luminance": 0.21396
}

Semantic roles & 50–950 ramp

primary
#4E7ED6
secondary
#DBC8A4
accent
#AC42E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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