#2876A5#2876A5

#2876A5 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.1% C 0.104 H 239.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2876A5
RGBrgb(40, 118, 165)
HSLhsl(203, 61%, 40%)
HSVhsv(203, 76%, 65%)
CMYKcmyk(75.8%, 28.5%, 0%, 35.3%)
CIE-LABlab(47.14, -7.18, -31.90)
CIE-LCHlch(47.14, 32.70, 257.31°)
OKLaboklab(54.07% -0.0527 -0.0902)
OKLCHoklch(54.07% 0.104 239.7)
XYZxyz(14.1424, 16.1229, 37.9567)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876A5 #A55728
analogous
#28A596 #2876A5 #2837A5
triadic
#2876A5 #A52876 #76A528
tetradic
#2876A5 #9628A5 #A55728 #37A528
square
#2876A5 #9628A5 #A55728 #37A528
split-complementary
#2876A5 #A52837 #A59628
monochromatic
#103042 #1C5374 #2876A5 #3B98CF #6CB2DB

Accessibility & contrast

On white

4.97
#2876A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2876A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876A5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876A5#FFFFFF#000000##FFFFFF
##2876A51.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6076A7
Deuteranopia (green-blind)
#4F6BA4
Tritanopia (blue-blind)
#008286
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2876a5;
/* rgb */ color: rgb(40, 118, 165);
/* oklch */ color: oklch(54.1% 0.104 239.7);
Tailwind
colors: {
  custom: {
    50: '#749dc0',
    500: '#2876a5',
    950: '#000000',
  },
}
SCSS
$custom: #2876a5;
$custom-light: #749dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2876a5",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 165
  },
  "hsl": {
    "h": 202.56,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54071,
    "c": 0.10444,
    "h": 239.7
  },
  "luminance": 0.16125
}

Semantic roles & 50–950 ramp

primary
#2876A5
secondary
#C28967
accent
#8044E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2876A5

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

Preview Lab → · Contrast checker → · Palette generator →

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