#4E81D0#4E81D0

#4E81D0 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.5% C 0.133 H 258.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4E81D0
RGBrgb(78, 129, 208)
HSLhsl(216, 58%, 56%)
HSVhsv(216, 63%, 82%)
CMYKcmyk(62.5%, 38%, 0%, 18.4%)
CIE-LABlab(53.89, 7.47, -45.89)
CIE-LCHlch(53.89, 46.50, 279.24°)
OKLaboklab(60.46% -0.0257 -0.1304)
OKLCHoklch(60.46% 0.133 258.9)
XYZxyz(22.3733, 21.8722, 62.7050)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81D0 #D09D4E
analogous
#4EC2D0 #4E81D0 #5C4ED0
triadic
#4E81D0 #D04E81 #81D04E
tetradic
#4E81D0 #D04EC2 #D09D4E #4ED05C
square
#4E81D0 #D04EC2 #D09D4E #4ED05C
split-complementary
#4E81D0 #D05C4E #C2D04E
monochromatic
#224881 #2F62B2 #4E81D0 #7EA3DD #AFC6EA

Accessibility & contrast

On white

3.91
#4E81D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4E81D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81D0
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81D0#FFFFFF#000000##000000
##4E81D01.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D3
Deuteranopia (green-blind)
#4C7BCE
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e81d0;
/* rgb */ color: rgb(78, 129, 208);
/* oklch */ color: oklch(60.5% 0.133 258.9);
Tailwind
colors: {
  custom: {
    50: '#8ba5df',
    500: '#4e81d0',
    950: '#000000',
  },
}
SCSS
$custom: #4e81d0;
$custom-light: #8ba5df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81d0",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 208
  },
  "hsl": {
    "h": 216.462,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60459,
    "c": 0.13286,
    "h": 258.9
  },
  "luminance": 0.21874
}

Semantic roles & 50–950 ramp

primary
#4E81D0
secondary
#D8C3A2
accent
#A547E1
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E81D0

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

Preview Lab → · Contrast checker → · Palette generator →

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