#4E81D6#4E81D6

#4E81D6 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.8% C 0.141 H 260.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4E81D6
RGBrgb(78, 129, 214)
HSLhsl(218, 62%, 57%)
HSVhsv(218, 64%, 84%)
CMYKcmyk(63.6%, 39.7%, 0%, 16.1%)
CIE-LABlab(54.21, 9.51, -48.78)
CIE-LCHlch(54.21, 49.70, 281.04°)
OKLaboklab(60.81% -0.0243 -0.1388)
OKLCHoklch(60.81% 0.141 260.1)
XYZxyz(23.1254, 22.1731, 66.6664)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81D6 #D6A34E
analogous
#4EC5D6 #4E81D6 #5F4ED6
triadic
#4E81D6 #D64E81 #81D64E
tetradic
#4E81D6 #D64EC5 #D6A34E #4ED65F
square
#4E81D6 #D64EC5 #D6A34E #4ED65F
split-complementary
#4E81D6 #D65F4E #C5D64E
monochromatic
#20488A #2B61BB #4E81D6 #80A4E2 #B1C8ED

Accessibility & contrast

On white

3.86
#4E81D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4E81D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81D6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81D6#FFFFFF#000000##000000
##4E81D61.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B88D9
Deuteranopia (green-blind)
#477CD4
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e81d6;
/* rgb */ color: rgb(78, 129, 214);
/* oklch */ color: oklch(60.8% 0.141 260.1);
Tailwind
colors: {
  custom: {
    50: '#8ca5e3',
    500: '#4e81d6',
    950: '#000000',
  },
}
SCSS
$custom: #4e81d6;
$custom-light: #8ca5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81d6",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 214
  },
  "hsl": {
    "h": 217.5,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6081,
    "c": 0.14093,
    "h": 260.1
  },
  "luminance": 0.22175
}

Semantic roles & 50–950 ramp

primary
#4E81D6
secondary
#DBC7A4
accent
#A842E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E81D6

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

Preview Lab → · Contrast checker → · Palette generator →

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