#4E81DD#4E81DD

#4E81DD is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.2% C 0.150 H 261.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4E81DD
RGBrgb(78, 129, 221)
HSLhsl(219, 68%, 59%)
HSVhsv(219, 65%, 87%)
CMYKcmyk(64.7%, 41.6%, 0%, 13.3%)
CIE-LABlab(54.59, 11.92, -52.11)
CIE-LCHlch(54.59, 53.45, 282.88°)
OKLaboklab(61.23% -0.0229 -0.1486)
OKLCHoklch(61.23% 0.15 261.2)
XYZxyz(24.0387, 22.5384, 71.4761)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81DD #DDAA4E
analogous
#4EC9DD #4E81DD #624EDD
triadic
#4E81DD #DD4E81 #81DD4E
tetradic
#4E81DD #DD4EC9 #DDAA4E #4EDD62
square
#4E81DD #DD4EC9 #DDAA4E #4EDD62
split-complementary
#4E81DD #DD624E #C9DD4E
monochromatic
#1C4794 #2660C7 #4E81DD #81A6E7 #B5CAF1

Accessibility & contrast

On white

3.81
#4E81DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4E81DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81DD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81DD#FFFFFF#000000##000000
##4E81DD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#417CDB
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e81dd;
/* rgb */ color: rgb(78, 129, 221);
/* oklch */ color: oklch(61.2% 0.150 261.2);
Tailwind
colors: {
  custom: {
    50: '#8da5e8',
    500: '#4e81dd',
    950: '#000000',
  },
}
SCSS
$custom: #4e81dd;
$custom-light: #8da5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81dd",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 218.601,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61232,
    "c": 0.15032,
    "h": 261.2
  },
  "luminance": 0.22541
}

Semantic roles & 50–950 ramp

primary
#4E81DD
secondary
#E0CCA7
accent
#AD3DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E81DD

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

Preview Lab → · Contrast checker → · Palette generator →

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