#4E81D7#4E81D7

#4E81D7 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.9% C 0.142 H 260.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4E81D7
RGBrgb(78, 129, 215)
HSLhsl(218, 63%, 57%)
HSVhsv(218, 64%, 84%)
CMYKcmyk(63.7%, 40%, 0%, 15.7%)
CIE-LABlab(54.26, 9.86, -49.26)
CIE-LCHlch(54.26, 50.23, 281.31°)
OKLaboklab(60.87% -0.0241 -0.1402)
OKLCHoklch(60.87% 0.142 260.2)
XYZxyz(23.2535, 22.2243, 67.3411)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81D7 #D7A44E
analogous
#4EC6D7 #4E81D7 #5F4ED7
triadic
#4E81D7 #D74E81 #81D74E
tetradic
#4E81D7 #D74EC6 #D7A44E #4ED75F
square
#4E81D7 #D74EC6 #D7A44E #4ED75F
split-complementary
#4E81D7 #D75F4E #C6D74E
monochromatic
#1F488B #2B61BD #4E81D7 #80A5E2 #B2C8EE

Accessibility & contrast

On white

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

On black

5.45
#4E81D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81D7
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81D7#FFFFFF#000000##000000
##4E81D71.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B89DA
Deuteranopia (green-blind)
#467CD5
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e81d7;
/* rgb */ color: rgb(78, 129, 215);
/* oklch */ color: oklch(60.9% 0.142 260.2);
Tailwind
colors: {
  custom: {
    50: '#8ca5e4',
    500: '#4e81d7',
    950: '#000000',
  },
}
SCSS
$custom: #4e81d7;
$custom-light: #8ca5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81d7",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 215
  },
  "hsl": {
    "h": 217.664,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6087,
    "c": 0.14227,
    "h": 260.2
  },
  "luminance": 0.22227
}

Semantic roles & 50–950 ramp

primary
#4E81D7
secondary
#DCC7A5
accent
#A942E6
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4E81D7

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

Preview Lab → · Contrast checker → · Palette generator →

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