#2879A1#2879A1

#2879A1 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.098 H 234.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2879A1
RGBrgb(40, 121, 161)
HSLhsl(200, 60%, 39%)
HSVhsv(200, 75%, 63%)
CMYKcmyk(75.2%, 24.8%, 0%, 36.9%)
CIE-LABlab(47.88, -10.38, -28.41)
CIE-LCHlch(47.88, 30.24, 249.93°)
OKLaboklab(54.6% -0.0571 -0.08)
OKLCHoklch(54.6% 0.098 234.5)
XYZxyz(14.1429, 16.6974, 36.1888)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879A1 #A15028
analogous
#28A18D #2879A1 #283CA1
triadic
#2879A1 #A12879 #79A128
tetradic
#2879A1 #8D28A1 #A15028 #3CA128
square
#2879A1 #8D28A1 #A15028 #3CA128
split-complementary
#2879A1 #A1283C #A18D28
monochromatic
#102F3F #1C5470 #2879A1 #399CCE #6AB5DA

Accessibility & contrast

On white

4.84
#2879A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2879A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2879A1
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879A1#FFFFFF#000000##FFFFFF
##2879A11.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)
#6578A3
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2879a1;
/* rgb */ color: rgb(40, 121, 161);
/* oklch */ color: oklch(54.6% 0.098 234.5);
Tailwind
colors: {
  custom: {
    50: '#739fbd',
    500: '#2879a1',
    950: '#000000',
  },
}
SCSS
$custom: #2879a1;
$custom-light: #739fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2879a1",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 161
  },
  "hsl": {
    "h": 199.835,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54599,
    "c": 0.09828,
    "h": 234.5
  },
  "luminance": 0.16699
}

Semantic roles & 50–950 ramp

primary
#2879A1
secondary
#C08365
accent
#7944E3
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2879A1

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

Preview Lab → · Contrast checker → · Palette generator →

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