#4D81BB#4D81BB

#4D81BB is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 59.3% C 0.105 H 252.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4D81BB
RGBrgb(77, 129, 187)
HSLhsl(212, 45%, 52%)
HSVhsv(212, 59%, 73%)
CMYKcmyk(58.8%, 31%, 0%, 26.7%)
CIE-LABlab(52.80, 0.23, -35.66)
CIE-LCHlch(52.80, 35.66, 270.37°)
OKLaboklab(59.25% -0.032 -0.1005)
OKLCHoklch(59.25% 0.106 252.4)
XYZxyz(19.8773, 20.8644, 49.9838)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81BB #BB874D
analogous
#4DB8BB #4D81BB #504DBB
triadic
#4D81BB #BB4D81 #81BB4D
tetradic
#4D81BB #BB4DB8 #BB874D #4DBB50
square
#4D81BB #BB4DB8 #BB874D #4DBB50
split-complementary
#4D81BB #BB504D #B8BB4D
monochromatic
#274566 #386393 #4D81BB #79A0CC #A6C0DD

Accessibility & contrast

On white

4.06
#4D81BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4D81BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81BB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81BB#FFFFFF#000000##000000
##4D81BB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#5A79BA
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d81bb;
/* rgb */ color: rgb(77, 129, 187);
/* oklch */ color: oklch(59.3% 0.105 252.4);
Tailwind
colors: {
  custom: {
    50: '#87a5cf',
    500: '#4d81bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d81bb;
$custom-light: #87a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81bb",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 211.636,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.1055,
    "h": 252.4
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#4D81BB
secondary
#CAB39A
accent
#9753D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4D81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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