#2876B4#2876B4

#2876B4 is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 54.9% C 0.122 H 246.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2876B4
RGBrgb(40, 118, 180)
HSLhsl(207, 64%, 43%)
HSVhsv(207, 78%, 71%)
CMYKcmyk(77.8%, 34.4%, 0%, 29.4%)
CIE-LABlab(47.88, -1.66, -39.46)
CIE-LCHlch(47.88, 39.50, 267.59°)
OKLaboklab(54.91% -0.0481 -0.1122)
OKLCHoklch(54.91% 0.122 246.8)
XYZxyz(15.5886, 16.7014, 45.5733)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876B4 #B46628
analogous
#28B4AC #2876B4 #2830B4
triadic
#2876B4 #B42876 #76B428
tetradic
#2876B4 #AC28B4 #B46628 #30B428
square
#2876B4 #AC28B4 #B46628 #30B428
split-complementary
#2876B4 #B42830 #B4AC28
monochromatic
#123450 #1D5582 #2876B4 #4495D5 #76B1E1

Accessibility & contrast

On white

4.84
#2876B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2876B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876B4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876B4#FFFFFF#000000##FFFFFF
##2876B41.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5979B7
Deuteranopia (green-blind)
#456CB3
Tritanopia (blue-blind)
#00858C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2876b4;
/* rgb */ color: rgb(40, 118, 180);
/* oklch */ color: oklch(54.9% 0.122 246.8);
Tailwind
colors: {
  custom: {
    50: '#779dcb',
    500: '#2876b4',
    950: '#000000',
  },
}
SCSS
$custom: #2876b4;
$custom-light: #779dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2876b4",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 180
  },
  "hsl": {
    "h": 206.571,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54905,
    "c": 0.12206,
    "h": 246.8
  },
  "luminance": 0.16703
}

Semantic roles & 50–950 ramp

primary
#2876B4
secondary
#C89770
accent
#8A41E7
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2876B4

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

Preview Lab → · Contrast checker → · Palette generator →

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