#4D81E1#4D81E1

#4D81E1 is a mid, vivid blue. Relative luminance 0.227; OKLCH L 61.4% C 0.156 H 261.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4D81E1
RGBrgb(77, 129, 225)
HSLhsl(219, 71%, 59%)
HSVhsv(219, 66%, 88%)
CMYKcmyk(65.8%, 42.7%, 0%, 11.8%)
CIE-LABlab(54.77, 13.13, -54.06)
CIE-LCHlch(54.77, 55.64, 283.65°)
OKLaboklab(61.43% -0.023 -0.1543)
OKLCHoklch(61.43% 0.156 261.5)
XYZxyz(24.4966, 22.7121, 74.3125)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81E1 #E1AD4D
analogous
#4DCBE1 #4D81E1 #634DE1
triadic
#4D81E1 #E14D81 #81E14D
tetradic
#4D81E1 #E14DCB #E1AD4D #4DE163
square
#4D81E1 #E14DCB #E1AD4D #4DE163
split-complementary
#4D81E1 #E1634D #CBE14D
monochromatic
#1A479A #235FCE #4D81E1 #81A6EA #B6CBF3

Accessibility & contrast

On white

3.79
#4D81E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#4D81E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81E1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81E1#FFFFFF#000000##000000
##4D81E11.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE5
Deuteranopia (green-blind)
#3C7DDF
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d81e1;
/* rgb */ color: rgb(77, 129, 225);
/* oklch */ color: oklch(61.4% 0.156 261.5);
Tailwind
colors: {
  custom: {
    50: '#8da5eb',
    500: '#4d81e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d81e1;
$custom-light: #8da5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81e1",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 225
  },
  "hsl": {
    "h": 218.919,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61432,
    "c": 0.15603,
    "h": 261.5
  },
  "luminance": 0.22715
}

Semantic roles & 50–950 ramp

primary
#4D81E1
secondary
#E2CEA8
accent
#AF3AEE
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D81E1

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

Preview Lab → · Contrast checker → · Palette generator →

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