#2884AD#2884AD

#2884AD is a mid, moderate cyan. Relative luminance 0.200; OKLCH L 57.9% C 0.104 H 232.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2884AD
RGBrgb(40, 132, 173)
HSLhsl(198, 62%, 42%)
HSVhsv(198, 77%, 68%)
CMYKcmyk(76.9%, 23.7%, 0%, 32.2%)
CIE-LABlab(51.80, -12.39, -29.27)
CIE-LCHlch(51.80, 31.78, 247.05°)
OKLaboklab(57.9% -0.0637 -0.0824)
OKLCHoklch(57.9% 0.104 232.3)
XYZxyz(16.6661, 19.9688, 42.5031)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2884AD #AD5128
analogous
#28AD94 #2884AD #2842AD
triadic
#2884AD #AD2884 #84AD28
tetradic
#2884AD #9428AD #AD5128 #42AD28
square
#2884AD #9428AD #AD5128 #42AD28
split-complementary
#2884AD #AD2842 #AD9428
monochromatic
#11384A #1D5E7B #2884AD #3FA5D3 #71BDDE

Accessibility & contrast

On white

4.20
#2884AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2884AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2884AD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2884AD#FFFFFF#000000##000000
##2884AD1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7083AF
Deuteranopia (green-blind)
#5E76AC
Tritanopia (blue-blind)
#008F92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2884ad;
/* rgb */ color: rgb(40, 132, 173);
/* oklch */ color: oklch(57.9% 0.104 232.3);
Tailwind
colors: {
  custom: {
    50: '#76a7c5',
    500: '#2884ad',
    950: '#000000',
  },
}
SCSS
$custom: #2884ad;
$custom-light: #76a7c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2884ad",
  "rgb": {
    "r": 40,
    "g": 132,
    "b": 173
  },
  "hsl": {
    "h": 198.496,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57903,
    "c": 0.10414,
    "h": 232.3
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#2884AD
secondary
#C5876C
accent
#7542E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2884AD

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

Preview Lab → · Contrast checker → · Palette generator →

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