#4C81BB#4C81BB

#4C81BB is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 59.2% C 0.106 H 252.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#4C81BB
RGBrgb(76, 129, 187)
HSLhsl(211, 45%, 52%)
HSVhsv(211, 59%, 73%)
CMYKcmyk(59.4%, 31%, 0%, 26.7%)
CIE-LABlab(52.76, 0.03, -35.74)
CIE-LCHlch(52.76, 35.74, 270.04°)
OKLaboklab(59.21% -0.0328 -0.1008)
OKLCHoklch(59.21% 0.106 252)
XYZxyz(19.7972, 20.8231, 49.9801)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81BB #BB864C
analogous
#4CB9BB #4C81BB #4F4CBB
triadic
#4C81BB #BB4C81 #81BB4C
tetradic
#4C81BB #BB4CB9 #BB864C #4CBB4F
square
#4C81BB #BB4CB9 #BB864C #4CBB4F
split-complementary
#4C81BB #BB4F4C #B9BB4C
monochromatic
#274566 #386392 #4C81BB #78A0CC #A5BFDD

Accessibility & contrast

On white

4.07
#4C81BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#4C81BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81BB#FFFFFF#000000##000000
##4C81BB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.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: #4c81bb;
/* rgb */ color: rgb(76, 129, 187);
/* oklch */ color: oklch(59.2% 0.106 252.0);
Tailwind
colors: {
  custom: {
    50: '#87a5cf',
    500: '#4c81bb',
    950: '#000000',
  },
}
SCSS
$custom: #4c81bb;
$custom-light: #87a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81bb",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 211.351,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59206,
    "c": 0.10597,
    "h": 252
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

primary
#4C81BB
secondary
#CAB399
accent
#9753D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4C81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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