#4E81E2#4E81E2

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

Color values

HEX#4E81E2
RGBrgb(78, 129, 226)
HSLhsl(219, 72%, 60%)
HSVhsv(219, 65%, 89%)
CMYKcmyk(65.5%, 42.9%, 0%, 11.4%)
CIE-LABlab(54.87, 13.64, -54.46)
CIE-LCHlch(54.87, 56.14, 284.06°)
OKLaboklab(61.54% -0.022 -0.1555)
OKLCHoklch(61.54% 0.157 262)
XYZxyz(24.7148, 22.8088, 75.0368)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81E2 #E2AF4E
analogous
#4ECBE2 #4E81E2 #654EE2
triadic
#4E81E2 #E24E81 #81E24E
tetradic
#4E81E2 #E24ECB #E2AF4E #4EE265
square
#4E81E2 #E24ECB #E2AF4E #4EE265
split-complementary
#4E81E2 #E2654E #CBE24E
monochromatic
#1A479C #225ED1 #4E81E2 #83A6EB #B7CCF3

Accessibility & contrast

On white

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

On black

5.56
#4E81E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81E2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81E2#FFFFFF#000000##000000
##4E81E21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE6
Deuteranopia (green-blind)
#3B7DE0
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e81e2;
/* rgb */ color: rgb(78, 129, 226);
/* oklch */ color: oklch(61.5% 0.157 262.0);
Tailwind
colors: {
  custom: {
    50: '#8ea5ec',
    500: '#4e81e2',
    950: '#000000',
  },
}
SCSS
$custom: #4e81e2;
$custom-light: #8ea5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81e2",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 219.324,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.15703,
    "h": 262
  },
  "luminance": 0.22811
}

Semantic roles & 50–950 ramp

primary
#4E81E2
secondary
#E3CFA9
accent
#B039EF
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E81E2

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

Preview Lab → · Contrast checker → · Palette generator →

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