#4E7AE4#4E7AE4

#4E7AE4 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.2% C 0.168 H 264.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4E7AE4
RGBrgb(78, 122, 228)
HSLhsl(222, 74%, 60%)
HSVhsv(222, 66%, 89%)
CMYKcmyk(65.8%, 46.5%, 0%, 10.6%)
CIE-LABlab(53.10, 18.62, -58.42)
CIE-LCHlch(53.10, 61.32, 287.68°)
OKLaboklab(60.21% -0.015 -0.1672)
OKLCHoklch(60.21% 0.168 264.9)
XYZxyz(24.1001, 21.1379, 76.1937)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AE4 #E4B84E
analogous
#4EC5E4 #4E7AE4 #6D4EE4
triadic
#4E7AE4 #E44E7A #7AE44E
tetradic
#4E7AE4 #E44EC5 #E4B84E #4EE46D
square
#4E7AE4 #E44EC5 #E4B84E #4EE46D
split-complementary
#4E7AE4 #E46D4E #C5E44E
monochromatic
#18409F #2055D4 #4E7AE4 #83A2EC #B8CAF4

Accessibility & contrast

On white

4.02
#4E7AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#4E7AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AE4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AE4#FFFFFF#000000##000000
##4E7AE41.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4486E8
Deuteranopia (green-blind)
#2578E2
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7ae4;
/* rgb */ color: rgb(78, 122, 228);
/* oklch */ color: oklch(60.2% 0.168 264.9);
Tailwind
colors: {
  custom: {
    50: '#8e9fed',
    500: '#4e7ae4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ae4;
$custom-light: #8e9fed;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ae4",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 228
  },
  "hsl": {
    "h": 222.4,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.60214,
    "c": 0.16792,
    "h": 264.9
  },
  "luminance": 0.2114
}

Semantic roles & 50–950 ramp

primary
#4E7AE4
secondary
#E4D3AA
accent
#BA38F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E7AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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