#2876A3#2876A3

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

Color values

HEX#2876A3
RGBrgb(40, 118, 163)
HSLhsl(202, 61%, 40%)
HSVhsv(202, 75%, 64%)
CMYKcmyk(75.5%, 27.6%, 0%, 36.1%)
CIE-LABlab(47.04, -7.91, -30.88)
CIE-LCHlch(47.04, 31.88, 255.63°)
OKLaboklab(53.97% -0.0534 -0.0872)
OKLCHoklch(53.97% 0.102 238.5)
XYZxyz(13.9618, 16.0507, 37.0055)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876A3 #A35528
analogous
#28A392 #2876A3 #2839A3
triadic
#2876A3 #A32876 #76A328
tetradic
#2876A3 #9228A3 #A35528 #39A328
square
#2876A3 #9228A3 #A35528 #39A328
split-complementary
#2876A3 #A32839 #A39228
monochromatic
#102F41 #1C5272 #2876A3 #3A98CF #6BB2DB

Accessibility & contrast

On white

4.99
#2876A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2876A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876A3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876A3#FFFFFF#000000##FFFFFF
##2876A31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6176A5
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#008186
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2876a3;
/* rgb */ color: rgb(40, 118, 163);
/* oklch */ color: oklch(54.0% 0.102 238.5);
Tailwind
colors: {
  custom: {
    50: '#749dbe',
    500: '#2876a3',
    950: '#000000',
  },
}
SCSS
$custom: #2876a3;
$custom-light: #749dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2876a3",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 163
  },
  "hsl": {
    "h": 201.951,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.53965,
    "c": 0.10225,
    "h": 238.5
  },
  "luminance": 0.16052
}

Semantic roles & 50–950 ramp

primary
#2876A3
secondary
#C18766
accent
#7E44E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2876A3

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

Preview Lab → · Contrast checker → · Palette generator →

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