#2876A1#2876A1

#2876A1 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.9% C 0.100 H 237.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2876A1
RGBrgb(40, 118, 161)
HSLhsl(201, 60%, 39%)
HSVhsv(201, 75%, 63%)
CMYKcmyk(75.2%, 26.7%, 0%, 36.9%)
CIE-LABlab(46.95, -8.63, -29.85)
CIE-LCHlch(46.95, 31.08, 253.87°)
OKLaboklab(53.86% -0.0541 -0.0842)
OKLCHoklch(53.86% 0.1 237.3)
XYZxyz(13.7840, 15.9796, 36.0692)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876A1 #A15328
analogous
#28A190 #2876A1 #283AA1
triadic
#2876A1 #A12876 #76A128
tetradic
#2876A1 #9028A1 #A15328 #3AA128
square
#2876A1 #9028A1 #A15328 #3AA128
split-complementary
#2876A1 #A1283A #A19028
monochromatic
#102E3F #1C5270 #2876A1 #3999CE #6AB2DA

Accessibility & contrast

On white

5.00
#2876A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2876A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876A1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876A1#FFFFFF#000000##FFFFFF
##2876A11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6276A3
Deuteranopia (green-blind)
#516AA0
Tritanopia (blue-blind)
#008185
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2876a1;
/* rgb */ color: rgb(40, 118, 161);
/* oklch */ color: oklch(53.9% 0.100 237.3);
Tailwind
colors: {
  custom: {
    50: '#739dbd',
    500: '#2876a1',
    950: '#000000',
  },
}
SCSS
$custom: #2876a1;
$custom-light: #739dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2876a1",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 161
  },
  "hsl": {
    "h": 201.322,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5386,
    "c": 0.10009,
    "h": 237.3
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#2876A1
secondary
#C08565
accent
#7D44E3
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2876A1

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

Preview Lab → · Contrast checker → · Palette generator →

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