#2882AB#2882AB

#2882AB is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.3% C 0.103 H 232.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2882AB
RGBrgb(40, 130, 171)
HSLhsl(199, 62%, 41%)
HSVhsv(199, 77%, 67%)
CMYKcmyk(76.6%, 24%, 0%, 32.9%)
CIE-LABlab(51.10, -11.97, -29.20)
CIE-LCHlch(51.10, 31.56, 247.71°)
OKLaboklab(57.31% -0.0624 -0.0822)
OKLCHoklch(57.31% 0.103 232.8)
XYZxyz(16.2054, 19.3547, 41.4019)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2882AB #AB5128
analogous
#28AB93 #2882AB #2841AB
triadic
#2882AB #AB2882 #82AB28
tetradic
#2882AB #9328AB #AB5128 #41AB28
square
#2882AB #9328AB #AB5128 #41AB28
split-complementary
#2882AB #AB2841 #AB9328
monochromatic
#113748 #1C5C79 #2882AB #3EA4D2 #70BBDE

Accessibility & contrast

On white

4.31
#2882AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#2882AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2882AB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2882AB#FFFFFF#000000##000000
##2882AB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E81AD
Deuteranopia (green-blind)
#5C74AA
Tritanopia (blue-blind)
#008D90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2882ab;
/* rgb */ color: rgb(40, 130, 171);
/* oklch */ color: oklch(57.3% 0.103 232.8);
Tailwind
colors: {
  custom: {
    50: '#76a6c4',
    500: '#2882ab',
    950: '#000000',
  },
}
SCSS
$custom: #2882ab;
$custom-light: #76a6c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2882ab",
  "rgb": {
    "r": 40,
    "g": 130,
    "b": 171
  },
  "hsl": {
    "h": 198.779,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.57314,
    "c": 0.10325,
    "h": 232.8
  },
  "luminance": 0.19357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2882AB

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

Preview Lab → · Contrast checker → · Palette generator →

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