#4C81AC#4C81AC

#4C81AC is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.5% C 0.087 H 244.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4C81AC
RGBrgb(76, 129, 172)
HSLhsl(207, 39%, 49%)
HSVhsv(207, 56%, 67%)
CMYKcmyk(55.8%, 25%, 0%, 32.5%)
CIE-LABlab(52.08, -4.86, -28.17)
CIE-LCHlch(52.08, 28.58, 260.22°)
OKLaboklab(58.45% -0.0375 -0.0789)
OKLCHoklch(58.45% 0.087 244.6)
XYZxyz(18.2744, 20.2140, 41.9604)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81AC #AC774C
analogous
#4CACA7 #4C81AC #4C51AC
triadic
#4C81AC #AC4C81 #81AC4C
tetradic
#4C81AC #A74CAC #AC774C #51AC4C
square
#4C81AC #A74CAC #AC774C #51AC4C
split-complementary
#4C81AC #AC4C51 #ACA74C
monochromatic
#264157 #396182 #4C81AC #749FC1 #9EBCD4

Accessibility & contrast

On white

4.16
#4C81AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4C81AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81AC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81AC#FFFFFF#000000##000000
##4C81AC1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F82AE
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c81ac;
/* rgb */ color: rgb(76, 129, 172);
/* oklch */ color: oklch(58.5% 0.087 244.6);
Tailwind
colors: {
  custom: {
    50: '#85a5c5',
    500: '#4c81ac',
    950: '#000000',
  },
}
SCSS
$custom: #4c81ac;
$custom-light: #85a5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81ac",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 206.875,
    "s": 38.71,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5845,
    "c": 0.08734,
    "h": 244.6
  },
  "luminance": 0.20216
}

Semantic roles & 50–950 ramp

primary
#4C81AC
secondary
#C1A793
accent
#8E59CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #4C81AC

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

Preview Lab → · Contrast checker → · Palette generator →

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