#4D81E7#4D81E7

#4D81E7 is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.8% C 0.164 H 262.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4D81E7
RGBrgb(77, 129, 231)
HSLhsl(220, 76%, 60%)
HSVhsv(220, 67%, 91%)
CMYKcmyk(66.7%, 44.2%, 0%, 9.4%)
CIE-LABlab(55.12, 15.21, -56.87)
CIE-LCHlch(55.12, 58.87, 284.98°)
OKLaboklab(61.81% -0.0219 -0.1626)
OKLCHoklch(61.81% 0.164 262.3)
XYZxyz(25.3295, 23.0453, 78.6991)
Luminance0.2305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81E7 #E7B34D
analogous
#4DCEE7 #4D81E7 #664DE7
triadic
#4D81E7 #E74D81 #81E74D
tetradic
#4D81E7 #E74DCE #E7B34D #4DE766
square
#4D81E7 #E74DCE #E7B34D #4DE766
split-complementary
#4D81E7 #E7664D #CEE74D
monochromatic
#1646A4 #1D5DD9 #4D81E7 #83A7EE #B9CDF6

Accessibility & contrast

On white

3.74
#4D81E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#4D81E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81E7
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81E7#FFFFFF#000000##000000
##4D81E71.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEB
Deuteranopia (green-blind)
#347DE5
Tritanopia (blue-blind)
#0099A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4d81e7;
/* rgb */ color: rgb(77, 129, 231);
/* oklch */ color: oklch(61.8% 0.164 262.3);
Tailwind
colors: {
  custom: {
    50: '#8ea5ef',
    500: '#4d81e7',
    950: '#000000',
  },
}
SCSS
$custom: #4d81e7;
$custom-light: #8ea5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81e7",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 231
  },
  "hsl": {
    "h": 219.74,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61809,
    "c": 0.16405,
    "h": 262.3
  },
  "luminance": 0.23048
}

Semantic roles & 50–950 ramp

primary
#4D81E7
secondary
#E5D1AA
accent
#940DD8
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4D81E7

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

Preview Lab → · Contrast checker → · Palette generator →

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