#4E81D5#4E81D5

#4E81D5 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.8% C 0.140 H 259.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4E81D5
RGBrgb(78, 129, 213)
HSLhsl(217, 62%, 57%)
HSVhsv(217, 63%, 84%)
CMYKcmyk(63.4%, 39.4%, 0%, 16.5%)
CIE-LABlab(54.16, 9.17, -48.30)
CIE-LCHlch(54.16, 49.16, 280.75°)
OKLaboklab(60.75% -0.0245 -0.1374)
OKLCHoklch(60.75% 0.14 259.9)
XYZxyz(22.9981, 22.1222, 65.9959)
Luminance0.2212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81D5 #D5A24E
analogous
#4EC5D5 #4E81D5 #5E4ED5
triadic
#4E81D5 #D54E81 #81D54E
tetradic
#4E81D5 #D54EC5 #D5A24E #4ED55E
square
#4E81D5 #D54EC5 #D5A24E #4ED55E
split-complementary
#4E81D5 #D55E4E #C5D54E
monochromatic
#204888 #2C62BA #4E81D5 #7FA4E1 #B1C7EC

Accessibility & contrast

On white

3.87
#4E81D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4E81D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81D5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81D5#FFFFFF#000000##000000
##4E81D51.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D8
Deuteranopia (green-blind)
#487CD3
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e81d5;
/* rgb */ color: rgb(78, 129, 213);
/* oklch */ color: oklch(60.8% 0.140 259.9);
Tailwind
colors: {
  custom: {
    50: '#8ca5e2',
    500: '#4e81d5',
    950: '#000000',
  },
}
SCSS
$custom: #4e81d5;
$custom-light: #8ca5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81d5",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 213
  },
  "hsl": {
    "h": 217.333,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60751,
    "c": 0.13959,
    "h": 259.9
  },
  "luminance": 0.22124
}

Semantic roles & 50–950 ramp

primary
#4E81D5
secondary
#DBC6A4
accent
#A843E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E81D5

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

Preview Lab → · Contrast checker → · Palette generator →

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