#4D81E5#4D81E5

#4D81E5 is a mid, vivid blue. Relative luminance 0.229; OKLCH L 61.7% C 0.161 H 262.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4D81E5
RGBrgb(77, 129, 229)
HSLhsl(219, 75%, 60%)
HSVhsv(219, 66%, 90%)
CMYKcmyk(66.4%, 43.7%, 0%, 10.2%)
CIE-LABlab(55.00, 14.52, -55.94)
CIE-LCHlch(55.00, 57.79, 284.55°)
OKLaboklab(61.68% -0.0222 -0.1598)
OKLCHoklch(61.68% 0.161 262.1)
XYZxyz(25.0487, 22.9330, 77.2200)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81E5 #E5B14D
analogous
#4DCDE5 #4D81E5 #654DE5
triadic
#4D81E5 #E54D81 #81E54D
tetradic
#4D81E5 #E54DCD #E5B14D #4DE565
square
#4D81E5 #E54DCD #E5B14D #4DE565
split-complementary
#4D81E5 #E5654D #CDE54D
monochromatic
#1746A0 #1F5ED6 #4D81E5 #82A7ED #B8CDF5

Accessibility & contrast

On white

3.76
#4D81E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#4D81E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81E5
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81E5#FFFFFF#000000##000000
##4D81E51.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#518BE9
Deuteranopia (green-blind)
#377DE3
Tritanopia (blue-blind)
#0098A8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4d81e5;
/* rgb */ color: rgb(77, 129, 229);
/* oklch */ color: oklch(61.7% 0.161 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ea5ee',
    500: '#4d81e5',
    950: '#000000',
  },
}
SCSS
$custom: #4d81e5;
$custom-light: #8ea5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81e5",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 229
  },
  "hsl": {
    "h": 219.474,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.61682,
    "c": 0.16138,
    "h": 262.1
  },
  "luminance": 0.22935
}

Semantic roles & 50–950 ramp

primary
#4D81E5
secondary
#E4D0AA
accent
#B137F1
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4D81E5

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

Preview Lab → · Contrast checker → · Palette generator →

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