#4E81D8#4E81D8

#4E81D8 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 60.9% C 0.144 H 260.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4E81D8
RGBrgb(78, 129, 216)
HSLhsl(218, 64%, 58%)
HSVhsv(218, 64%, 85%)
CMYKcmyk(63.9%, 40.3%, 0%, 15.3%)
CIE-LABlab(54.32, 10.20, -49.73)
CIE-LCHlch(54.32, 50.77, 281.59°)
OKLaboklab(60.93% -0.0239 -0.1416)
OKLCHoklch(60.93% 0.144 260.4)
XYZxyz(23.3824, 22.2759, 68.0199)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81D8 #D8A54E
analogous
#4EC6D8 #4E81D8 #604ED8
triadic
#4E81D8 #D84E81 #81D84E
tetradic
#4E81D8 #D84EC6 #D8A54E #4ED860
square
#4E81D8 #D84EC6 #D8A54E #4ED860
split-complementary
#4E81D8 #D8604E #C6D84E
monochromatic
#1F488D #2A61BF #4E81D8 #80A5E3 #B2C8EE

Accessibility & contrast

On white

3.85
#4E81D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4E81D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81D8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81D8#FFFFFF#000000##000000
##4E81D81.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DB
Deuteranopia (green-blind)
#467CD6
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e81d8;
/* rgb */ color: rgb(78, 129, 216);
/* oklch */ color: oklch(60.9% 0.144 260.4);
Tailwind
colors: {
  custom: {
    50: '#8ca5e4',
    500: '#4e81d8',
    950: '#000000',
  },
}
SCSS
$custom: #4e81d8;
$custom-light: #8ca5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81d8",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 216
  },
  "hsl": {
    "h": 217.826,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6093,
    "c": 0.14361,
    "h": 260.4
  },
  "luminance": 0.22278
}

Semantic roles & 50–950 ramp

primary
#4E81D8
secondary
#DDC8A5
accent
#AA41E7
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4E81D8

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

Preview Lab → · Contrast checker → · Palette generator →

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