#4D81D5#4D81D5

#4D81D5 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.140 H 259.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4D81D5
RGBrgb(77, 129, 213)
HSLhsl(217, 62%, 57%)
HSVhsv(217, 64%, 84%)
CMYKcmyk(63.8%, 39.4%, 0%, 16.5%)
CIE-LABlab(54.11, 8.99, -48.37)
CIE-LCHlch(54.11, 49.20, 280.53°)
OKLaboklab(60.71% -0.0254 -0.1376)
OKLCHoklch(60.71% 0.14 259.6)
XYZxyz(22.9168, 22.0802, 65.9921)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81D5 #D5A14D
analogous
#4DC5D5 #4D81D5 #5D4DD5
triadic
#4D81D5 #D54D81 #81D54D
tetradic
#4D81D5 #D54DC5 #D5A14D #4DD55D
square
#4D81D5 #D54DC5 #D5A14D #4DD55D
split-complementary
#4D81D5 #D55D4D #C5D54D
monochromatic
#204888 #2C62B9 #4D81D5 #7FA4E1 #B0C7EC

Accessibility & contrast

On white

3.88
#4D81D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4D81D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81D5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81D5#FFFFFF#000000##000000
##4D81D51.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C88D8
Deuteranopia (green-blind)
#487CD3
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d81d5;
/* rgb */ color: rgb(77, 129, 213);
/* oklch */ color: oklch(60.7% 0.140 259.6);
Tailwind
colors: {
  custom: {
    50: '#8ba5e2',
    500: '#4d81d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d81d5;
$custom-light: #8ba5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81d5",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 213
  },
  "hsl": {
    "h": 217.059,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60705,
    "c": 0.13996,
    "h": 259.6
  },
  "luminance": 0.22082
}

Semantic roles & 50–950 ramp

primary
#4D81D5
secondary
#DBC5A3
accent
#A743E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D81D5

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

Preview Lab → · Contrast checker → · Palette generator →

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