#4E7ECA#4E7ECA

#4E7ECA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.5% C 0.128 H 259.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4E7ECA
RGBrgb(78, 126, 202)
HSLhsl(217, 54%, 55%)
HSVhsv(217, 61%, 79%)
CMYKcmyk(61.4%, 37.6%, 0%, 20.8%)
CIE-LABlab(52.73, 7.24, -44.32)
CIE-LCHlch(52.73, 44.91, 279.28°)
OKLaboklab(59.46% -0.0239 -0.1258)
OKLCHoklch(59.46% 0.128 259.2)
XYZxyz(21.2596, 20.8038, 58.7608)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ECA #CA9A4E
analogous
#4EBCCA #4E7ECA #5C4ECA
triadic
#4E7ECA #CA4E7E #7ECA4E
tetradic
#4E7ECA #CA4EBC #CA9A4E #4ECA5C
square
#4E7ECA #CA4EBC #CA9A4E #4ECA5C
split-complementary
#4E7ECA #CA5C4E #BCCA4E
monochromatic
#244579 #3260A8 #4E7ECA #7DA0D8 #ACC3E6

Accessibility & contrast

On white

4.07
#4E7ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4E7ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ECA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ECA#FFFFFF#000000##000000
##4E7ECA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#4C79C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7eca;
/* rgb */ color: rgb(78, 126, 202);
/* oklch */ color: oklch(59.5% 0.128 259.2);
Tailwind
colors: {
  custom: {
    50: '#8aa3da',
    500: '#4e7eca',
    950: '#000000',
  },
}
SCSS
$custom: #4e7eca;
$custom-light: #8aa3da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7eca",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 216.774,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59458,
    "c": 0.12807,
    "h": 259.2
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#4E7ECA
secondary
#D4C0A0
accent
#A44BDD
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0F15
muted
#7D7E83

Preview Lab

Preview with #4E7ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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