#2876A4#2876A4

#2876A4 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.0% C 0.103 H 239.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2876A4
RGBrgb(40, 118, 164)
HSLhsl(202, 61%, 40%)
HSVhsv(202, 76%, 64%)
CMYKcmyk(75.6%, 28%, 0%, 35.7%)
CIE-LABlab(47.09, -7.55, -31.39)
CIE-LCHlch(47.09, 32.29, 256.48°)
OKLaboklab(54.02% -0.053 -0.0887)
OKLCHoklch(54.02% 0.103 239.1)
XYZxyz(14.0517, 16.0867, 37.4792)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876A4 #A45628
analogous
#28A494 #2876A4 #2838A4
triadic
#2876A4 #A42876 #76A428
tetradic
#2876A4 #9428A4 #A45628 #38A428
square
#2876A4 #9428A4 #A45628 #38A428
split-complementary
#2876A4 #A42838 #A49428
monochromatic
#102F42 #1C5373 #2876A4 #3A98CF #6BB2DB

Accessibility & contrast

On white

4.98
#2876A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2876A4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876A4#FFFFFF#000000##FFFFFF
##2876A41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2876a4;
/* rgb */ color: rgb(40, 118, 164);
/* oklch */ color: oklch(54.0% 0.103 239.1);
Tailwind
colors: {
  custom: {
    50: '#749dbf',
    500: '#2876a4',
    950: '#000000',
  },
}
SCSS
$custom: #2876a4;
$custom-light: #749dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2876a4",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 164
  },
  "hsl": {
    "h": 202.258,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.54018,
    "c": 0.10334,
    "h": 239.1
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#2876A4
secondary
#C18866
accent
#7F44E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2876A4

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

Preview Lab → · Contrast checker → · Palette generator →

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