#4D81D7#4D81D7

#4D81D7 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.8% C 0.143 H 259.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4D81D7
RGBrgb(77, 129, 215)
HSLhsl(217, 63%, 57%)
HSVhsv(217, 64%, 84%)
CMYKcmyk(64.2%, 40%, 0%, 15.7%)
CIE-LABlab(54.22, 9.68, -49.33)
CIE-LCHlch(54.22, 50.27, 281.10°)
OKLaboklab(60.82% -0.0249 -0.1404)
OKLCHoklch(60.82% 0.143 259.9)
XYZxyz(23.1722, 22.1824, 67.3373)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81D7 #D7A34D
analogous
#4DC6D7 #4D81D7 #5E4DD7
triadic
#4D81D7 #D74D81 #81D74D
tetradic
#4D81D7 #D74DC6 #D7A34D #4DD75E
square
#4D81D7 #D74DC6 #D7A34D #4DD75E
split-complementary
#4D81D7 #D75E4D #C6D74D
monochromatic
#1F488A #2A61BC #4D81D7 #7FA4E2 #B1C8ED

Accessibility & contrast

On white

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

On black

5.44
#4D81D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81D7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81D7#FFFFFF#000000##000000
##4D81D71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d81d7;
/* rgb */ color: rgb(77, 129, 215);
/* oklch */ color: oklch(60.8% 0.143 259.9);
Tailwind
colors: {
  custom: {
    50: '#8ca5e4',
    500: '#4d81d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d81d7;
$custom-light: #8ca5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81d7",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 215
  },
  "hsl": {
    "h": 217.391,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60823,
    "c": 0.14264,
    "h": 259.9
  },
  "luminance": 0.22185
}

Semantic roles & 50–950 ramp

primary
#4D81D7
secondary
#DCC7A4
accent
#A841E6
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4D81D7

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

Preview Lab → · Contrast checker → · Palette generator →

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