#4E7AEC#4E7AEC

#4E7AEC is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.7% C 0.179 H 265.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4E7AEC
RGBrgb(78, 122, 236)
HSLhsl(223, 81%, 62%)
HSVhsv(223, 67%, 93%)
CMYKcmyk(66.9%, 48.3%, 0%, 7.5%)
CIE-LABlab(53.59, 21.40, -62.11)
CIE-LCHlch(53.59, 65.69, 289.01°)
OKLaboklab(60.75% -0.014 -0.1781)
OKLCHoklch(60.75% 0.179 265.5)
XYZxyz(25.2365, 21.5924, 82.1784)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AEC #ECC04E
analogous
#4EC9EC #4E7AEC #714EEC
triadic
#4E7AEC #EC4E7A #7AEC4E
tetradic
#4E7AEC #EC4EC9 #ECC04E #4EEC71
square
#4E7AEC #EC4EC9 #ECC04E #4EEC71
split-complementary
#4E7AEC #EC714E #C9EC4E
monochromatic
#133EAD #1951E4 #4E7AEC #85A4F2 #BDCDF8

Accessibility & contrast

On white

3.95
#4E7AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4E7AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AEC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AEC#FFFFFF#000000##000000
##4E7AEC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C88F0
Deuteranopia (green-blind)
#0E79EA
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7aec;
/* rgb */ color: rgb(78, 122, 236);
/* oklch */ color: oklch(60.7% 0.179 265.5);
Tailwind
colors: {
  custom: {
    50: '#909ff3',
    500: '#4e7aec',
    950: '#000000',
  },
}
SCSS
$custom: #4e7aec;
$custom-light: #909ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7aec",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 223.291,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.17862,
    "h": 265.5
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#4E7AEC
secondary
#E8D8AE
accent
#A209DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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