#2879AB#2879AB

#2879AB is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.1% C 0.109 H 240.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2879AB
RGBrgb(40, 121, 171)
HSLhsl(203, 62%, 41%)
HSVhsv(203, 77%, 67%)
CMYKcmyk(76.6%, 29.2%, 0%, 32.9%)
CIE-LABlab(48.34, -6.77, -33.51)
CIE-LCHlch(48.34, 34.19, 258.58°)
OKLaboklab(55.12% -0.0537 -0.0948)
OKLCHoklch(55.12% 0.109 240.5)
XYZxyz(15.0602, 17.0644, 41.0202)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879AB #AB5A28
analogous
#28AB9C #2879AB #2838AB
triadic
#2879AB #AB2879 #79AB28
tetradic
#2879AB #9C28AB #AB5A28 #38AB28
square
#2879AB #9C28AB #AB5A28 #38AB28
split-complementary
#2879AB #AB2838 #AB9C28
monochromatic
#113348 #1C5679 #2879AB #3E9AD2 #70B4DE

Accessibility & contrast

On white

4.76
#2879AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2879AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2879AB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879AB#FFFFFF#000000##FFFFFF
##2879AB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627AAD
Deuteranopia (green-blind)
#506DAA
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2879ab;
/* rgb */ color: rgb(40, 121, 171);
/* oklch */ color: oklch(55.1% 0.109 240.5);
Tailwind
colors: {
  custom: {
    50: '#759fc4',
    500: '#2879ab',
    950: '#000000',
  },
}
SCSS
$custom: #2879ab;
$custom-light: #759fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2879ab",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 171
  },
  "hsl": {
    "h": 202.901,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55121,
    "c": 0.10894,
    "h": 240.5
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#2879AB
secondary
#C48D6A
accent
#8143E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2879AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2879AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva