#4E81E1#4E81E1

#4E81E1 is a mid, vivid blue. Relative luminance 0.228; OKLCH L 61.5% C 0.156 H 261.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4E81E1
RGBrgb(78, 129, 225)
HSLhsl(219, 71%, 59%)
HSVhsv(219, 65%, 88%)
CMYKcmyk(65.3%, 42.7%, 0%, 11.8%)
CIE-LABlab(54.82, 13.30, -53.99)
CIE-LCHlch(54.82, 55.60, 283.83°)
OKLaboklab(61.48% -0.0221 -0.1541)
OKLCHoklch(61.48% 0.156 261.8)
XYZxyz(24.5779, 22.7541, 74.3163)
Luminance0.2276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81E1 #E1AE4E
analogous
#4ECAE1 #4E81E1 #654EE1
triadic
#4E81E1 #E14E81 #81E14E
tetradic
#4E81E1 #E14ECA #E1AE4E #4EE165
square
#4E81E1 #E14ECA #E1AE4E #4EE165
split-complementary
#4E81E1 #E1654E #CAE14E
monochromatic
#1A479A #235FCF #4E81E1 #82A6EA #B7CCF3

Accessibility & contrast

On white

3.78
#4E81E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4E81E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81E1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81E1#FFFFFF#000000##000000
##4E81E11.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE5
Deuteranopia (green-blind)
#3C7DDF
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e81e1;
/* rgb */ color: rgb(78, 129, 225);
/* oklch */ color: oklch(61.5% 0.156 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ea5eb',
    500: '#4e81e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e81e1;
$custom-light: #8ea5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81e1",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 225
  },
  "hsl": {
    "h": 219.184,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61478,
    "c": 0.15569,
    "h": 261.8
  },
  "luminance": 0.22756
}

Semantic roles & 50–950 ramp

primary
#4E81E1
secondary
#E2CEA9
accent
#AF3AEE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E81E1

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

Preview Lab → · Contrast checker → · Palette generator →

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