#4C81BD#4C81BD

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

Color values

HEX#4C81BD
RGBrgb(76, 129, 189)
HSLhsl(212, 46%, 52%)
HSVhsv(212, 60%, 74%)
CMYKcmyk(59.8%, 31.7%, 0%, 25.9%)
CIE-LABlab(52.85, 0.69, -36.73)
CIE-LCHlch(52.85, 36.74, 271.08°)
OKLaboklab(59.31% -0.0322 -0.1037)
OKLCHoklch(59.31% 0.109 252.7)
XYZxyz(20.0128, 20.9093, 51.1155)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81BD #BD884C
analogous
#4CBABD #4C81BD #504CBD
triadic
#4C81BD #BD4C81 #81BD4C
tetradic
#4C81BD #BD4CBA #BD884C #4CBD50
square
#4C81BD #BD4CBA #BD884C #4CBD50
split-complementary
#4C81BD #BD504C #BABD4C
monochromatic
#264568 #376395 #4C81BD #79A0CD #A5C0DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C81BD#FFFFFF#000000##000000
##4C81BD1.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)
#6884C0
Deuteranopia (green-blind)
#5979BC
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c81bd;
/* rgb */ color: rgb(76, 129, 189);
/* oklch */ color: oklch(59.3% 0.109 252.7);
Tailwind
colors: {
  custom: {
    50: '#87a5d1',
    500: '#4c81bd',
    950: '#000000',
  },
}
SCSS
$custom: #4c81bd;
$custom-light: #87a5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81bd",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 211.858,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59311,
    "c": 0.10855,
    "h": 252.7
  },
  "luminance": 0.20911
}

Semantic roles & 50–950 ramp

primary
#4C81BD
secondary
#CBB49A
accent
#9852D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4C81BD

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

Preview Lab → · Contrast checker → · Palette generator →

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