#2876AB#2876AB

#2876AB is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.4% C 0.111 H 242.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2876AB
RGBrgb(40, 118, 171)
HSLhsl(204, 62%, 41%)
HSVhsv(204, 77%, 67%)
CMYKcmyk(76.6%, 31%, 0%, 32.9%)
CIE-LABlab(47.43, -4.99, -34.95)
CIE-LCHlch(47.43, 35.31, 261.87°)
OKLaboklab(54.4% -0.0508 -0.099)
OKLCHoklch(54.4% 0.111 242.9)
XYZxyz(14.7013, 16.3465, 40.9006)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876AB #AB5D28
analogous
#28AB9F #2876AB #2835AB
triadic
#2876AB #AB2876 #76AB28
tetradic
#2876AB #9F28AB #AB5D28 #35AB28
square
#2876AB #9F28AB #AB5D28 #35AB28
split-complementary
#2876AB #AB2835 #AB9F28
monochromatic
#113248 #1C5479 #2876AB #3E96D2 #70B1DE

Accessibility & contrast

On white

4.92
#2876AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2876AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876AB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876AB#FFFFFF#000000##FFFFFF
##2876AB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D77AD
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#008389
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2876ab;
/* rgb */ color: rgb(40, 118, 171);
/* oklch */ color: oklch(54.4% 0.111 242.9);
Tailwind
colors: {
  custom: {
    50: '#759dc4',
    500: '#2876ab',
    950: '#000000',
  },
}
SCSS
$custom: #2876ab;
$custom-light: #759dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2876ab",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 171
  },
  "hsl": {
    "h": 204.275,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.54396,
    "c": 0.11129,
    "h": 242.9
  },
  "luminance": 0.16348
}

Semantic roles & 50–950 ramp

primary
#2876AB
secondary
#C48F6A
accent
#8443E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2876AB

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

Preview Lab → · Contrast checker → · Palette generator →

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