#4E81E7#4E81E7

#4E81E7 is a mid, vivid blue. Relative luminance 0.231; OKLCH L 61.9% C 0.164 H 262.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4E81E7
RGBrgb(78, 129, 231)
HSLhsl(220, 76%, 61%)
HSVhsv(220, 66%, 91%)
CMYKcmyk(66.2%, 44.2%, 0%, 9.4%)
CIE-LABlab(55.16, 15.37, -56.80)
CIE-LCHlch(55.16, 58.84, 285.14°)
OKLaboklab(61.85% -0.0211 -0.1623)
OKLCHoklch(61.85% 0.164 262.6)
XYZxyz(25.4109, 23.0872, 78.7029)
Luminance0.2309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81E7 #E7B44E
analogous
#4ECDE7 #4E81E7 #674EE7
triadic
#4E81E7 #E74E81 #81E74E
tetradic
#4E81E7 #E74ECD #E7B44E #4EE767
square
#4E81E7 #E74ECD #E7B44E #4EE767
split-complementary
#4E81E7 #E7674E #CDE74E
monochromatic
#1646A4 #1E5CDA #4E81E7 #84A7EE #BACEF6

Accessibility & contrast

On white

3.74
#4E81E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#4E81E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81E7
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81E7#FFFFFF#000000##000000
##4E81E71.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEB
Deuteranopia (green-blind)
#347EE5
Tritanopia (blue-blind)
#0099A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e81e7;
/* rgb */ color: rgb(78, 129, 231);
/* oklch */ color: oklch(61.9% 0.164 262.6);
Tailwind
colors: {
  custom: {
    50: '#8fa5ef',
    500: '#4e81e7',
    950: '#000000',
  },
}
SCSS
$custom: #4e81e7;
$custom-light: #8fa5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81e7",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 231
  },
  "hsl": {
    "h": 220,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61854,
    "c": 0.16371,
    "h": 262.6
  },
  "luminance": 0.2309
}

Semantic roles & 50–950 ramp

primary
#4E81E7
secondary
#E5D2AB
accent
#950DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4E81E7

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

Preview Lab → · Contrast checker → · Palette generator →

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