#2881AD#2881AD

#2881AD is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.2% C 0.106 H 234.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2881AD
RGBrgb(40, 129, 173)
HSLhsl(200, 62%, 42%)
HSVhsv(200, 77%, 68%)
CMYKcmyk(76.9%, 25.4%, 0%, 32.2%)
CIE-LABlab(50.88, -10.69, -30.70)
CIE-LCHlch(50.88, 32.51, 250.80°)
OKLaboklab(57.17% -0.0607 -0.0866)
OKLCHoklch(57.17% 0.106 234.9)
XYZxyz(16.2651, 19.1668, 42.3694)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2881AD #AD5428
analogous
#28AD97 #2881AD #283EAD
triadic
#2881AD #AD2881 #81AD28
tetradic
#2881AD #9728AD #AD5428 #3EAD28
square
#2881AD #9728AD #AD5428 #3EAD28
split-complementary
#2881AD #AD283E #AD9728
monochromatic
#11374A #1D5C7B #2881AD #3FA2D3 #71BADE

Accessibility & contrast

On white

4.34
#2881AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2881AD#FFFFFF#000000##000000
##2881AD1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C80AF
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#008D90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2881ad;
/* rgb */ color: rgb(40, 129, 173);
/* oklch */ color: oklch(57.2% 0.106 234.9);
Tailwind
colors: {
  custom: {
    50: '#76a5c5',
    500: '#2881ad',
    950: '#000000',
  },
}
SCSS
$custom: #2881ad;
$custom-light: #76a5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2881ad",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 173
  },
  "hsl": {
    "h": 199.85,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5717,
    "c": 0.10575,
    "h": 234.9
  },
  "luminance": 0.19169
}

Semantic roles & 50–950 ramp

primary
#2881AD
secondary
#C5896C
accent
#7842E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2881AD

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

Preview Lab → · Contrast checker → · Palette generator →

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