#4E81E9#4E81E9

#4E81E9 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 62.0% C 0.166 H 262.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4E81E9
RGBrgb(78, 129, 233)
HSLhsl(220, 78%, 61%)
HSVhsv(220, 67%, 91%)
CMYKcmyk(66.5%, 44.6%, 0%, 8.6%)
CIE-LABlab(55.28, 16.06, -57.73)
CIE-LCHlch(55.28, 59.92, 285.55°)
OKLaboklab(61.98% -0.0207 -0.1651)
OKLCHoklch(61.98% 0.166 262.8)
XYZxyz(25.6949, 23.2009, 80.1991)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81E9 #E9B64E
analogous
#4ECEE9 #4E81E9 #684EE9
triadic
#4E81E9 #E94E81 #81E94E
tetradic
#4E81E9 #E94ECE #E9B64E #4EE968
square
#4E81E9 #E94ECE #E9B64E #4EE968
split-complementary
#4E81E9 #E9684E #CEE94E
monochromatic
#1545A8 #1C5CDE #4E81E9 #84A8F0 #BBCEF7

Accessibility & contrast

On white

3.72
#4E81E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#4E81E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81E9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81E9#FFFFFF#000000##000000
##4E81E91.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8CED
Deuteranopia (green-blind)
#317EE7
Tritanopia (blue-blind)
#0099AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e81e9;
/* rgb */ color: rgb(78, 129, 233);
/* oklch */ color: oklch(62.0% 0.166 262.8);
Tailwind
colors: {
  custom: {
    50: '#8fa5f1',
    500: '#4e81e9',
    950: '#000000',
  },
}
SCSS
$custom: #4e81e9;
$custom-light: #8fa5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81e9",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 220.258,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61981,
    "c": 0.16638,
    "h": 262.8
  },
  "luminance": 0.23203
}

Semantic roles & 50–950 ramp

primary
#4E81E9
secondary
#E7D3AC
accent
#960BDA
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4E81E9

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

Preview Lab → · Contrast checker → · Palette generator →

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