#2876AD#2876AD

#2876AD is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.5% C 0.114 H 243.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2876AD
RGBrgb(40, 118, 173)
HSLhsl(205, 62%, 42%)
HSVhsv(205, 77%, 68%)
CMYKcmyk(76.9%, 31.8%, 0%, 32.2%)
CIE-LABlab(47.53, -4.26, -35.96)
CIE-LCHlch(47.53, 36.21, 263.25°)
OKLaboklab(54.51% -0.0501 -0.102)
OKLCHoklch(54.51% 0.114 243.8)
XYZxyz(14.8934, 16.4234, 41.9121)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2876AD #AD5F28
analogous
#28ADA2 #2876AD #2834AD
triadic
#2876AD #AD2876 #76AD28
tetradic
#2876AD #A228AD #AD5F28 #34AD28
square
#2876AD #A228AD #AD5F28 #34AD28
split-complementary
#2876AD #AD2834 #ADA228
monochromatic
#11324A #1D547B #2876AD #3F96D3 #71B1DE

Accessibility & contrast

On white

4.90
#2876AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2876AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2876AD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2876AD#FFFFFF#000000##FFFFFF
##2876AD1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D78AF
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#00838A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2876ad;
/* rgb */ color: rgb(40, 118, 173);
/* oklch */ color: oklch(54.5% 0.114 243.8);
Tailwind
colors: {
  custom: {
    50: '#759dc5',
    500: '#2876ad',
    950: '#000000',
  },
}
SCSS
$custom: #2876ad;
$custom-light: #759dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2876ad",
  "rgb": {
    "r": 40,
    "g": 118,
    "b": 173
  },
  "hsl": {
    "h": 204.812,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.11363,
    "h": 243.8
  },
  "luminance": 0.16425
}

Semantic roles & 50–950 ramp

primary
#2876AD
secondary
#C5916C
accent
#8642E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2876AD

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

Preview Lab → · Contrast checker → · Palette generator →

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