#2881AB#2881AB

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

Color values

HEX#2881AB
RGBrgb(40, 129, 171)
HSLhsl(199, 62%, 41%)
HSVhsv(199, 77%, 67%)
CMYKcmyk(76.6%, 24.6%, 0%, 32.9%)
CIE-LABlab(50.79, -11.40, -29.68)
CIE-LCHlch(50.79, 31.80, 248.99°)
OKLaboklab(57.07% -0.0615 -0.0836)
OKLCHoklch(57.07% 0.104 233.7)
XYZxyz(16.0731, 19.0900, 41.3578)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2881AB #AB5228
analogous
#28AB94 #2881AB #2840AB
triadic
#2881AB #AB2881 #81AB28
tetradic
#2881AB #9428AB #AB5228 #40AB28
square
#2881AB #9428AB #AB5228 #40AB28
split-complementary
#2881AB #AB2840 #AB9428
monochromatic
#113648 #1C5C79 #2881AB #3EA3D2 #70BADE

Accessibility & contrast

On white

4.36
#2881AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#2881AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2881AB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2881AB#FFFFFF#000000##000000
##2881AB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AD
Deuteranopia (green-blind)
#5B73AA
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2881ab;
/* rgb */ color: rgb(40, 129, 171);
/* oklch */ color: oklch(57.1% 0.104 233.7);
Tailwind
colors: {
  custom: {
    50: '#76a5c4',
    500: '#2881ab',
    950: '#000000',
  },
}
SCSS
$custom: #2881ab;
$custom-light: #76a5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2881ab",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 171
  },
  "hsl": {
    "h": 199.237,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.57069,
    "c": 0.10378,
    "h": 233.7
  },
  "luminance": 0.19092
}

Semantic roles & 50–950 ramp

primary
#2881AB
secondary
#C4876A
accent
#7743E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2881AB

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

Preview Lab → · Contrast checker → · Palette generator →

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