#4E81D4#4E81D4

#4E81D4 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.138 H 259.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4E81D4
RGBrgb(78, 129, 212)
HSLhsl(217, 61%, 57%)
HSVhsv(217, 63%, 83%)
CMYKcmyk(63.2%, 39.2%, 0%, 16.9%)
CIE-LABlab(54.10, 8.83, -47.82)
CIE-LCHlch(54.10, 48.63, 280.46°)
OKLaboklab(60.69% -0.0248 -0.136)
OKLCHoklch(60.69% 0.138 259.7)
XYZxyz(22.8716, 22.0715, 65.3295)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81D4 #D4A14E
analogous
#4EC4D4 #4E81D4 #5E4ED4
triadic
#4E81D4 #D44E81 #81D44E
tetradic
#4E81D4 #D44EC4 #D4A14E #4ED45E
square
#4E81D4 #D44EC4 #D4A14E #4ED45E
split-complementary
#4E81D4 #D45E4E #C4D44E
monochromatic
#214887 #2D62B8 #4E81D4 #7FA4E0 #B0C7EC

Accessibility & contrast

On white

3.88
#4E81D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4E81D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81D4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81D4#FFFFFF#000000##000000
##4E81D41.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D7
Deuteranopia (green-blind)
#497CD2
Tritanopia (blue-blind)
#0094A0
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e81d4;
/* rgb */ color: rgb(78, 129, 212);
/* oklch */ color: oklch(60.7% 0.138 259.7);
Tailwind
colors: {
  custom: {
    50: '#8ca5e1',
    500: '#4e81d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e81d4;
$custom-light: #8ca5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81d4",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 212
  },
  "hsl": {
    "h": 217.164,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60692,
    "c": 0.13824,
    "h": 259.7
  },
  "luminance": 0.22074
}

Semantic roles & 50–950 ramp

primary
#4E81D4
secondary
#DAC5A4
accent
#A744E4
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E81D4

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

Preview Lab → · Contrast checker → · Palette generator →

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