#4E7ECD#4E7ECD

#4E7ECD is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.6% C 0.132 H 259.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4E7ECD
RGBrgb(78, 126, 205)
HSLhsl(217, 56%, 55%)
HSVhsv(217, 62%, 80%)
CMYKcmyk(62%, 38.5%, 0%, 19.6%)
CIE-LABlab(52.89, 8.26, -45.78)
CIE-LCHlch(52.89, 46.52, 280.23°)
OKLaboklab(59.63% -0.0232 -0.1301)
OKLCHoklch(59.63% 0.132 259.9)
XYZxyz(21.6183, 20.9472, 60.6497)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ECD #CD9D4E
analogous
#4EBDCD #4E7ECD #5D4ECD
triadic
#4E7ECD #CD4E7E #7ECD4E
tetradic
#4E7ECD #CD4EBD #CD9D4E #4ECD5D
square
#4E7ECD #CD4EBD #CD9D4E #4ECD5D
split-complementary
#4E7ECD #CD5D4E #BDCD4E
monochromatic
#23457D #3160AD #4E7ECD #7EA1DA #ADC4E8

Accessibility & contrast

On white

4.05
#4E7ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4E7ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ECD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ECD#FFFFFF#000000##000000
##4E7ECD1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85D0
Deuteranopia (green-blind)
#4A79CB
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7ecd;
/* rgb */ color: rgb(78, 126, 205);
/* oklch */ color: oklch(59.6% 0.132 259.9);
Tailwind
colors: {
  custom: {
    50: '#8ba3dc',
    500: '#4e7ecd',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ecd;
$custom-light: #8ba3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ecd",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 217.323,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59631,
    "c": 0.13212,
    "h": 259.9
  },
  "luminance": 0.20949
}

Semantic roles & 50–950 ramp

primary
#4E7ECD
secondary
#D6C2A1
accent
#A649DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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