#2879A9#2879A9

#2879A9 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.107 H 239.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2879A9
RGBrgb(40, 121, 169)
HSLhsl(202, 62%, 41%)
HSVhsv(202, 76%, 66%)
CMYKcmyk(76.3%, 28.4%, 0%, 33.7%)
CIE-LABlab(48.25, -7.50, -32.50)
CIE-LCHlch(48.25, 33.35, 257.01°)
OKLaboklab(55.01% -0.0543 -0.0919)
OKLCHoklch(55.01% 0.107 239.4)
XYZxyz(14.8711, 16.9887, 40.0238)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879A9 #A95828
analogous
#28A998 #2879A9 #2838A9
triadic
#2879A9 #A92879 #79A928
tetradic
#2879A9 #9828A9 #A95828 #38A928
square
#2879A9 #9828A9 #A95828 #38A928
split-complementary
#2879A9 #A92838 #A99828
monochromatic
#113246 #1C5678 #2879A9 #3D9AD1 #6FB4DD

Accessibility & contrast

On white

4.77
#2879A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2879A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2879A9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879A9#FFFFFF#000000##FFFFFF
##2879A91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6279AB
Deuteranopia (green-blind)
#516DA8
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2879a9;
/* rgb */ color: rgb(40, 121, 169);
/* oklch */ color: oklch(55.0% 0.107 239.4);
Tailwind
colors: {
  custom: {
    50: '#759fc3',
    500: '#2879a9',
    950: '#000000',
  },
}
SCSS
$custom: #2879a9;
$custom-light: #759fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2879a9",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 169
  },
  "hsl": {
    "h": 202.326,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.10672,
    "h": 239.4
  },
  "luminance": 0.1699
}

Semantic roles & 50–950 ramp

primary
#2879A9
secondary
#C48B69
accent
#7F43E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2879A9

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

Preview Lab → · Contrast checker → · Palette generator →

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