#4E7ECE#4E7ECE

#4E7ECE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 59.7% C 0.133 H 260.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E7ECE
RGBrgb(78, 126, 206)
HSLhsl(218, 57%, 56%)
HSVhsv(218, 62%, 81%)
CMYKcmyk(62.1%, 38.8%, 0%, 19.2%)
CIE-LABlab(52.94, 8.60, -46.26)
CIE-LCHlch(52.94, 47.06, 280.53°)
OKLaboklab(59.69% -0.023 -0.1315)
OKLCHoklch(59.69% 0.133 260.1)
XYZxyz(21.7394, 20.9957, 61.2875)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7ECE #CE9E4E
analogous
#4EBECE #4E7ECE #5E4ECE
triadic
#4E7ECE #CE4E7E #7ECE4E
tetradic
#4E7ECE #CE4EBE #CE9E4E #4ECE5E
square
#4E7ECE #CE4EBE #CE9E4E #4ECE5E
split-complementary
#4E7ECE #CE5E4E #BECE4E
monochromatic
#23457F #3060AE #4E7ECE #7EA1DB #AEC4E9

Accessibility & contrast

On white

4.04
#4E7ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4E7ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7ECE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7ECE#FFFFFF#000000##000000
##4E7ECE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B85D1
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7ece;
/* rgb */ color: rgb(78, 126, 206);
/* oklch */ color: oklch(59.7% 0.133 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ba3dd',
    500: '#4e7ece',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ece;
$custom-light: #8ba3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ece",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 206
  },
  "hsl": {
    "h": 217.5,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5969,
    "c": 0.13348,
    "h": 260.1
  },
  "luminance": 0.20998
}

Semantic roles & 50–950 ramp

primary
#4E7ECE
secondary
#D7C3A1
accent
#A748E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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