#2876A2#2876A2

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

Color values

HEX#2876A2
RGBrgb(40, 118, 162)
HSLhsl(202, 60%, 40%)
HSVhsv(202, 75%, 64%)
CMYKcmyk(75.3%, 27.2%, 0%, 36.5%)
CIE-LABlab(46.99, -8.27, -30.37)
CIE-LCHlch(46.99, 31.47, 254.76°)
OKLaboklab(53.91% -0.0537 -0.0857)
OKLCHoklch(53.91% 0.101 237.9)
XYZxyz(13.8725, 16.0150, 36.5355)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876A2 #A25428
analogous
#28A291 #2876A2 #2839A2
triadic
#2876A2 #A22876 #76A228
tetradic
#2876A2 #9128A2 #A25428 #39A228
square
#2876A2 #9128A2 #A25428 #39A228
split-complementary
#2876A2 #A22839 #A29128
monochromatic
#102E40 #1C5271 #2876A2 #3998CE #6AB2DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2876A2#FFFFFF#000000##FFFFFF
##2876A21.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)
#6176A4
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#008185
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2876a2;
/* rgb */ color: rgb(40, 118, 162);
/* oklch */ color: oklch(53.9% 0.101 237.9);
Tailwind
colors: {
  custom: {
    50: '#739dbd',
    500: '#2876a2',
    950: '#000000',
  },
}
SCSS
$custom: #2876a2;
$custom-light: #739dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2876a2",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 162
  },
  "hsl": {
    "h": 201.639,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53912,
    "c": 0.10116,
    "h": 237.9
  },
  "luminance": 0.16017
}

Semantic roles & 50–950 ramp

primary
#2876A2
secondary
#C18665
accent
#7E44E4
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2876A2

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

Preview Lab → · Contrast checker → · Palette generator →

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