#2881A2#2881A2

#2881A2 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.6% C 0.096 H 227.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2881A2
RGBrgb(40, 129, 162)
HSLhsl(196, 60%, 40%)
HSVhsv(196, 75%, 64%)
CMYKcmyk(75.3%, 20.4%, 0%, 36.5%)
CIE-LABlab(50.40, -14.56, -25.07)
CIE-LCHlch(50.40, 28.99, 239.85°)
OKLaboklab(56.63% -0.0648 -0.0703)
OKLCHoklch(56.63% 0.096 227.3)
XYZxyz(15.2443, 18.7585, 36.9927)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2881A2 #A24928
analogous
#28A286 #2881A2 #2844A2
triadic
#2881A2 #A22881 #81A228
tetradic
#2881A2 #8628A2 #A24928 #44A228
square
#2881A2 #8628A2 #A24928 #44A228
split-complementary
#2881A2 #A22844 #A28628
monochromatic
#103340 #1C5A71 #2881A2 #39A6CE #6ABCDA

Accessibility & contrast

On white

4.42
#2881A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2881A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2881A2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2881A2#FFFFFF#000000##000000
##2881A21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7FA4
Deuteranopia (green-blind)
#5F73A2
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2881a2;
/* rgb */ color: rgb(40, 129, 162);
/* oklch */ color: oklch(56.6% 0.096 227.3);
Tailwind
colors: {
  custom: {
    50: '#74a5bd',
    500: '#2881a2',
    950: '#000000',
  },
}
SCSS
$custom: #2881a2;
$custom-light: #74a5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2881a2",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 162
  },
  "hsl": {
    "h": 196.23,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5663,
    "c": 0.09562,
    "h": 227.3
  },
  "luminance": 0.1876
}

Semantic roles & 50–950 ramp

primary
#2881A2
secondary
#C17E65
accent
#6F44E4
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2881A2

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

Preview Lab → · Contrast checker → · Palette generator →

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