#4E81E8#4E81E8

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

Color values

HEX#4E81E8
RGBrgb(78, 129, 232)
HSLhsl(220, 77%, 61%)
HSVhsv(220, 66%, 91%)
CMYKcmyk(66.4%, 44.4%, 0%, 9%)
CIE-LABlab(55.22, 15.72, -57.26)
CIE-LCHlch(55.22, 59.38, 285.35°)
OKLaboklab(61.92% -0.0209 -0.1637)
OKLCHoklch(61.92% 0.165 262.7)
XYZxyz(25.5525, 23.1439, 79.4489)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81E8 #E8B54E
analogous
#4ECEE8 #4E81E8 #684EE8
triadic
#4E81E8 #E84E81 #81E84E
tetradic
#4E81E8 #E84ECE #E8B54E #4EE868
square
#4E81E8 #E84ECE #E8B54E #4EE868
split-complementary
#4E81E8 #E8684E #CEE84E
monochromatic
#1645A6 #1D5CDC #4E81E8 #84A8EF #BACEF6

Accessibility & contrast

On white

3.73
#4E81E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4E81E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81E8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81E8#FFFFFF#000000##000000
##4E81E81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEC
Deuteranopia (green-blind)
#337EE6
Tritanopia (blue-blind)
#0099A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e81e8;
/* rgb */ color: rgb(78, 129, 232);
/* oklch */ color: oklch(61.9% 0.165 262.7);
Tailwind
colors: {
  custom: {
    50: '#8fa5f0',
    500: '#4e81e8',
    950: '#000000',
  },
}
SCSS
$custom: #4e81e8;
$custom-light: #8fa5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81e8",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 220.13,
    "s": 77,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61917,
    "c": 0.16505,
    "h": 262.7
  },
  "luminance": 0.23146
}

Semantic roles & 50–950 ramp

primary
#4E81E8
secondary
#E6D3AC
accent
#950CD9
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4E81E8

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

Preview Lab → · Contrast checker → · Palette generator →

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