#2876B2#2876B2

#2876B2 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.8% C 0.120 H 246.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2876B2
RGBrgb(40, 118, 178)
HSLhsl(206, 63%, 43%)
HSVhsv(206, 78%, 70%)
CMYKcmyk(77.5%, 33.7%, 0%, 30.2%)
CIE-LABlab(47.78, -2.40, -38.47)
CIE-LCHlch(47.78, 38.54, 266.42°)
OKLaboklab(54.79% -0.0486 -0.1093)
OKLCHoklch(54.79% 0.12 246)
XYZxyz(15.3863, 16.6205, 44.5080)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876B2 #B26428
analogous
#28B2A9 #2876B2 #2831B2
triadic
#2876B2 #B22876 #76B228
tetradic
#2876B2 #A928B2 #B26428 #31B228
square
#2876B2 #A928B2 #B26428 #31B228
split-complementary
#2876B2 #B22831 #B2A928
monochromatic
#12344E #1D5580 #2876B2 #4395D5 #75B1E0

Accessibility & contrast

On white

4.86
#2876B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2876B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876B2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876B2#FFFFFF#000000##FFFFFF
##2876B21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B5
Deuteranopia (green-blind)
#476CB1
Tritanopia (blue-blind)
#00858C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2876b2;
/* rgb */ color: rgb(40, 118, 178);
/* oklch */ color: oklch(54.8% 0.120 246.0);
Tailwind
colors: {
  custom: {
    50: '#769dc9',
    500: '#2876b2',
    950: '#000000',
  },
}
SCSS
$custom: #2876b2;
$custom-light: #769dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2876b2",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 178
  },
  "hsl": {
    "h": 206.087,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5479,
    "c": 0.11963,
    "h": 246
  },
  "luminance": 0.16622
}

Semantic roles & 50–950 ramp

primary
#2876B2
secondary
#C7956F
accent
#8941E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2876B2

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

Preview Lab → · Contrast checker → · Palette generator →

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