#2881AC#2881AC

#2881AC is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.1% C 0.105 H 234.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2881AC
RGBrgb(40, 129, 172)
HSLhsl(200, 62%, 42%)
HSVhsv(200, 77%, 67%)
CMYKcmyk(76.7%, 25%, 0%, 32.5%)
CIE-LABlab(50.84, -11.05, -30.19)
CIE-LCHlch(50.84, 32.15, 249.90°)
OKLaboklab(57.12% -0.0611 -0.0851)
OKLCHoklch(57.12% 0.105 234.3)
XYZxyz(16.1687, 19.1283, 41.8617)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2881AC #AC5328
analogous
#28AC95 #2881AC #283FAC
triadic
#2881AC #AC2881 #81AC28
tetradic
#2881AC #9528AC #AC5328 #3FAC28
square
#2881AC #9528AC #AC5328 #3FAC28
split-complementary
#2881AC #AC283F #AC9528
monochromatic
#113749 #1C5C7A #2881AC #3FA2D2 #71BADE

Accessibility & contrast

On white

4.35
#2881AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2881AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2881AC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2881AC#FFFFFF#000000##000000
##2881AC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AE
Deuteranopia (green-blind)
#5A74AB
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2881ac;
/* rgb */ color: rgb(40, 129, 172);
/* oklch */ color: oklch(57.1% 0.105 234.3);
Tailwind
colors: {
  custom: {
    50: '#76a5c5',
    500: '#2881ac',
    950: '#000000',
  },
}
SCSS
$custom: #2881ac;
$custom-light: #76a5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2881ac",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 199.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.57119,
    "c": 0.10476,
    "h": 234.3
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#2881AC
secondary
#C5886B
accent
#7842E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2881AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2881AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva