#2884AB#2884AB

#2884AB is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 57.8% C 0.102 H 231.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2884AB
RGBrgb(40, 132, 171)
HSLhsl(198, 62%, 41%)
HSVhsv(198, 77%, 67%)
CMYKcmyk(76.6%, 22.8%, 0%, 32.9%)
CIE-LABlab(51.71, -13.10, -28.25)
CIE-LCHlch(51.71, 31.14, 245.13°)
OKLaboklab(57.8% -0.0644 -0.0795)
OKLCHoklch(57.8% 0.102 231)
XYZxyz(16.4740, 19.8920, 41.4915)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2884AB #AB4F28
analogous
#28AB91 #2884AB #2843AB
triadic
#2884AB #AB2884 #84AB28
tetradic
#2884AB #9128AB #AB4F28 #43AB28
square
#2884AB #9128AB #AB4F28 #43AB28
split-complementary
#2884AB #AB2843 #AB9128
monochromatic
#113748 #1C5E79 #2884AB #3EA6D2 #70BDDE

Accessibility & contrast

On white

4.22
#2884AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2884AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2884AB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2884AB#FFFFFF#000000##000000
##2884AB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7082AD
Deuteranopia (green-blind)
#5F76AA
Tritanopia (blue-blind)
#008F91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2884ab;
/* rgb */ color: rgb(40, 132, 171);
/* oklch */ color: oklch(57.8% 0.102 231.0);
Tailwind
colors: {
  custom: {
    50: '#76a7c4',
    500: '#2884ab',
    950: '#000000',
  },
}
SCSS
$custom: #2884ab;
$custom-light: #76a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2884ab",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 171
  },
  "hsl": {
    "h": 197.863,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.57805,
    "c": 0.10228,
    "h": 231
  },
  "luminance": 0.19894
}

Semantic roles & 50–950 ramp

primary
#2884AB
secondary
#C4856A
accent
#7343E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2884AB

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

Preview Lab → · Contrast checker → · Palette generator →

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