#4E7CD6#4E7CD6

#4E7CD6 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.7% C 0.147 H 262.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E7CD6
RGBrgb(78, 124, 214)
HSLhsl(220, 62%, 57%)
HSVhsv(220, 64%, 84%)
CMYKcmyk(63.6%, 42.1%, 0%, 16.1%)
CIE-LABlab(52.83, 12.56, -50.98)
CIE-LCHlch(52.83, 52.50, 283.84°)
OKLaboklab(59.74% -0.0193 -0.1453)
OKLCHoklch(59.74% 0.147 262.4)
XYZxyz(22.4829, 20.8880, 66.4522)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CD6 #D6A84E
analogous
#4EC0D6 #4E7CD6 #644ED6
triadic
#4E7CD6 #D64E7C #7CD64E
tetradic
#4E7CD6 #D64EC0 #D6A84E #4ED664
square
#4E7CD6 #D64EC0 #D6A84E #4ED664
split-complementary
#4E7CD6 #D6644E #C0D64E
monochromatic
#20448A #2B5CBB #4E7CD6 #80A1E2 #B1C6ED

Accessibility & contrast

On white

4.06
#4E7CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4E7CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CD6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CD6#FFFFFF#000000##000000
##4E7CD61.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385D9
Deuteranopia (green-blind)
#3E78D4
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7cd6;
/* rgb */ color: rgb(78, 124, 214);
/* oklch */ color: oklch(59.7% 0.147 262.4);
Tailwind
colors: {
  custom: {
    50: '#8ca1e3',
    500: '#4e7cd6',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cd6;
$custom-light: #8ca1e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cd6",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 219.706,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59741,
    "c": 0.14662,
    "h": 262.4
  },
  "luminance": 0.2089
}

Semantic roles & 50–950 ramp

primary
#4E7CD6
secondary
#DBC9A4
accent
#AE42E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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