#4D81DD#4D81DD

#4D81DD is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.2% C 0.151 H 260.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4D81DD
RGBrgb(77, 129, 221)
HSLhsl(218, 68%, 58%)
HSVhsv(218, 65%, 87%)
CMYKcmyk(65.2%, 41.6%, 0%, 13.3%)
CIE-LABlab(54.55, 11.75, -52.18)
CIE-LCHlch(54.55, 53.48, 282.69°)
OKLaboklab(61.19% -0.0237 -0.1488)
OKLCHoklch(61.19% 0.151 260.9)
XYZxyz(23.9573, 22.4964, 71.4723)
Luminance0.2250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81DD #DDA94D
analogous
#4DC9DD #4D81DD #614DDD
triadic
#4D81DD #DD4D81 #81DD4D
tetradic
#4D81DD #DD4DC9 #DDA94D #4DDD61
square
#4D81DD #DD4DC9 #DDA94D #4DDD61
split-complementary
#4D81DD #DD614D #C9DD4D
monochromatic
#1C4793 #2660C7 #4D81DD #80A5E7 #B4CAF1

Accessibility & contrast

On white

3.82
#4D81DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4D81DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81DD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81DD#FFFFFF#000000##000000
##4D81DD1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE1
Deuteranopia (green-blind)
#407CDB
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d81dd;
/* rgb */ color: rgb(77, 129, 221);
/* oklch */ color: oklch(61.2% 0.151 260.9);
Tailwind
colors: {
  custom: {
    50: '#8da5e8',
    500: '#4d81dd',
    950: '#000000',
  },
}
SCSS
$custom: #4d81dd;
$custom-light: #8da5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81dd",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 218.333,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.15068,
    "h": 260.9
  },
  "luminance": 0.22499
}

Semantic roles & 50–950 ramp

primary
#4D81DD
secondary
#DFCBA6
accent
#AC3DEB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D81DD

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

Preview Lab → · Contrast checker → · Palette generator →

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