#4E81E0#4E81E0

#4E81E0 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.154 H 261.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4E81E0
RGBrgb(78, 129, 224)
HSLhsl(219, 70%, 59%)
HSVhsv(219, 65%, 88%)
CMYKcmyk(65.2%, 42.4%, 0%, 12.2%)
CIE-LABlab(54.76, 12.95, -53.52)
CIE-LCHlch(54.76, 55.07, 283.60°)
OKLaboklab(61.42% -0.0223 -0.1527)
OKLCHoklch(61.42% 0.154 261.7)
XYZxyz(24.4419, 22.6997, 73.5999)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81E0 #E0AD4E
analogous
#4ECAE0 #4E81E0 #644EE0
triadic
#4E81E0 #E04E81 #81E04E
tetradic
#4E81E0 #E04ECA #E0AD4E #4EE064
square
#4E81E0 #E04ECA #E0AD4E #4EE064
split-complementary
#4E81E0 #E0644E #CAE04E
monochromatic
#1B4799 #245FCD #4E81E0 #82A6E9 #B6CBF2

Accessibility & contrast

On white

3.79
#4E81E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4E81E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81E0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81E0#FFFFFF#000000##000000
##4E81E01.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE4
Deuteranopia (green-blind)
#3D7DDE
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e81e0;
/* rgb */ color: rgb(78, 129, 224);
/* oklch */ color: oklch(61.4% 0.154 261.7);
Tailwind
colors: {
  custom: {
    50: '#8ea5ea',
    500: '#4e81e0',
    950: '#000000',
  },
}
SCSS
$custom: #4e81e0;
$custom-light: #8ea5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81e0",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 224
  },
  "hsl": {
    "h": 219.041,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.15435,
    "h": 261.7
  },
  "luminance": 0.22702
}

Semantic roles & 50–950 ramp

primary
#4E81E0
secondary
#E1CEA8
accent
#AF3BED
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E81E0

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

Preview Lab → · Contrast checker → · Palette generator →

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