#4E7ECC#4E7ECC

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

Color values

HEX#4E7ECC
RGBrgb(78, 126, 204)
HSLhsl(217, 55%, 55%)
HSVhsv(217, 62%, 80%)
CMYKcmyk(61.8%, 38.2%, 0%, 20%)
CIE-LABlab(52.84, 7.92, -45.30)
CIE-LCHlch(52.84, 45.98, 279.92°)
OKLaboklab(59.57% -0.0235 -0.1286)
OKLCHoklch(59.57% 0.131 259.7)
XYZxyz(21.4980, 20.8991, 60.0160)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ECC #CC9C4E
analogous
#4EBDCC #4E7ECC #5D4ECC
triadic
#4E7ECC #CC4E7E #7ECC4E
tetradic
#4E7ECC #CC4EBD #CC9C4E #4ECC5D
square
#4E7ECC #CC4EBD #CC9C4E #4ECC5D
split-complementary
#4E7ECC #CC5D4E #BDCC4E
monochromatic
#24457C #3160AB #4E7ECC #7EA1DA #ADC3E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7ECC#FFFFFF#000000##000000
##4E7ECC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C85CF
Deuteranopia (green-blind)
#4B79CA
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7ecc;
/* rgb */ color: rgb(78, 126, 204);
/* oklch */ color: oklch(59.6% 0.131 259.7);
Tailwind
colors: {
  custom: {
    50: '#8aa3dc',
    500: '#4e7ecc',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ecc;
$custom-light: #8aa3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ecc",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 217.143,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59573,
    "c": 0.13077,
    "h": 259.7
  },
  "luminance": 0.20901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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