#4E7AE0#4E7AE0

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

Color values

HEX#4E7AE0
RGBrgb(78, 122, 224)
HSLhsl(222, 70%, 59%)
HSVhsv(222, 65%, 88%)
CMYKcmyk(65.2%, 45.5%, 0%, 12.2%)
CIE-LABlab(52.86, 17.24, -56.56)
CIE-LCHlch(52.86, 59.13, 286.95°)
OKLaboklab(59.95% -0.0156 -0.1618)
OKLCHoklch(59.95% 0.163 264.5)
XYZxyz(23.5513, 20.9183, 73.3031)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AE0 #E0B44E
analogous
#4EC3E0 #4E7AE0 #6B4EE0
triadic
#4E7AE0 #E04E7A #7AE04E
tetradic
#4E7AE0 #E04EC3 #E0B44E #4EE06B
square
#4E7AE0 #E04EC3 #E0B44E #4EE06B
split-complementary
#4E7AE0 #E06B4E #C3E04E
monochromatic
#1B4199 #2457CD #4E7AE0 #82A1E9 #B6C8F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7AE0#FFFFFF#000000##000000
##4E7AE01.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)
#4785E4
Deuteranopia (green-blind)
#2C78DE
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7ae0;
/* rgb */ color: rgb(78, 122, 224);
/* oklch */ color: oklch(60.0% 0.163 264.5);
Tailwind
colors: {
  custom: {
    50: '#8e9fea',
    500: '#4e7ae0',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ae0;
$custom-light: #8e9fea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ae0",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 224
  },
  "hsl": {
    "h": 221.918,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59953,
    "c": 0.16252,
    "h": 264.5
  },
  "luminance": 0.20921
}

Semantic roles & 50–950 ramp

primary
#4E7AE0
secondary
#E1D0A8
accent
#B73BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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