#2881A3#2881A3

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

Color values

HEX#2881A3
RGBrgb(40, 129, 163)
HSLhsl(197, 61%, 40%)
HSVhsv(197, 75%, 64%)
CMYKcmyk(75.5%, 20.9%, 0%, 36.1%)
CIE-LABlab(50.45, -14.21, -25.58)
CIE-LCHlch(50.45, 29.27, 240.94°)
OKLaboklab(56.68% -0.0644 -0.0718)
OKLCHoklch(56.68% 0.096 228.1)
XYZxyz(15.3335, 18.7942, 37.4627)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2881A3 #A34A28
analogous
#28A387 #2881A3 #2844A3
triadic
#2881A3 #A32881 #81A328
tetradic
#2881A3 #8728A3 #A34A28 #44A328
square
#2881A3 #8728A3 #A34A28 #44A328
split-complementary
#2881A3 #A32844 #A38728
monochromatic
#103341 #1C5A72 #2881A3 #3AA5CF #6BBCDB

Accessibility & contrast

On white

4.41
#2881A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2881A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2881A3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2881A3#FFFFFF#000000##000000
##2881A31.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7FA5
Deuteranopia (green-blind)
#5F73A3
Tritanopia (blue-blind)
#008B8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2881a3;
/* rgb */ color: rgb(40, 129, 163);
/* oklch */ color: oklch(56.7% 0.096 228.1);
Tailwind
colors: {
  custom: {
    50: '#74a5be',
    500: '#2881a3',
    950: '#000000',
  },
}
SCSS
$custom: #2881a3;
$custom-light: #74a5be;
$custom-dark: #000000;
JSON
{
  "hex": "#2881a3",
  "rgb": {
    "r": 40,
    "g": 129,
    "b": 163
  },
  "hsl": {
    "h": 196.585,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.09646,
    "h": 228.1
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#2881A3
secondary
#C17F66
accent
#7044E4
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2881A3

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

Preview Lab → · Contrast checker → · Palette generator →

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