#4E81D2#4E81D2

#4E81D2 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.136 H 259.3°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4E81D2
RGBrgb(78, 129, 210)
HSLhsl(217, 59%, 56%)
HSVhsv(217, 63%, 82%)
CMYKcmyk(62.9%, 38.6%, 0%, 17.6%)
CIE-LABlab(54.00, 8.15, -46.86)
CIE-LCHlch(54.00, 47.56, 279.86°)
OKLaboklab(60.58% -0.0252 -0.1332)
OKLCHoklch(60.58% 0.136 259.3)
XYZxyz(22.6209, 21.9713, 64.0090)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81D2 #D29F4E
analogous
#4EC3D2 #4E81D2 #5D4ED2
triadic
#4E81D2 #D24E81 #81D24E
tetradic
#4E81D2 #D24EC3 #D29F4E #4ED25D
square
#4E81D2 #D24EC3 #D29F4E #4ED25D
split-complementary
#4E81D2 #D25D4E #C3D24E
monochromatic
#224884 #2E62B5 #4E81D2 #7FA4DE #B0C6EB

Accessibility & contrast

On white

3.89
#4E81D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4E81D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81D2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81D2#FFFFFF#000000##000000
##4E81D21.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D88D5
Deuteranopia (green-blind)
#4B7BD0
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e81d2;
/* rgb */ color: rgb(78, 129, 210);
/* oklch */ color: oklch(60.6% 0.136 259.3);
Tailwind
colors: {
  custom: {
    50: '#8ba5e0',
    500: '#4e81d2',
    950: '#000000',
  },
}
SCSS
$custom: #4e81d2;
$custom-light: #8ba5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81d2",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 216.818,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60575,
    "c": 0.13555,
    "h": 259.3
  },
  "luminance": 0.21973
}

Semantic roles & 50–950 ramp

primary
#4E81D2
secondary
#D9C4A3
accent
#A645E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E81D2

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

Preview Lab → · Contrast checker → · Palette generator →

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