#4D81BC#4D81BC

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

Color values

HEX#4D81BC
RGBrgb(77, 129, 188)
HSLhsl(212, 45%, 52%)
HSVhsv(212, 59%, 74%)
CMYKcmyk(59%, 31.4%, 0%, 26.3%)
CIE-LABlab(52.85, 0.56, -36.16)
CIE-LCHlch(52.85, 36.16, 270.89°)
OKLaboklab(59.31% -0.0317 -0.102)
OKLCHoklch(59.31% 0.107 252.7)
XYZxyz(19.9847, 20.9074, 50.5496)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D81BC #BC884D
analogous
#4DB8BC #4D81BC #514DBC
triadic
#4D81BC #BC4D81 #81BC4D
tetradic
#4D81BC #BC4DB8 #BC884D #4DBC51
square
#4D81BC #BC4DB8 #BC884D #4DBC51
split-complementary
#4D81BC #BC514D #B8BC4D
monochromatic
#274568 #386394 #4D81BC #79A0CD #A6C0DD

Accessibility & contrast

On white

4.05
#4D81BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4D81BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D81BC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D81BC#FFFFFF#000000##000000
##4D81BC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884BF
Deuteranopia (green-blind)
#5A79BB
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d81bc;
/* rgb */ color: rgb(77, 129, 188);
/* oklch */ color: oklch(59.3% 0.107 252.7);
Tailwind
colors: {
  custom: {
    50: '#88a5d0',
    500: '#4d81bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d81bc;
$custom-light: #88a5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d81bc",
  "rgb": {
    "r": 77,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 211.892,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59306,
    "c": 0.1068,
    "h": 252.7
  },
  "luminance": 0.20909
}

Semantic roles & 50–950 ramp

primary
#4D81BC
secondary
#CBB49A
accent
#9853D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4D81BC

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

Preview Lab → · Contrast checker → · Palette generator →

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