#2879AD#2879AD

#2879AD is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.2% C 0.111 H 241.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2879AD
RGBrgb(40, 121, 173)
HSLhsl(203, 62%, 42%)
HSVhsv(203, 77%, 68%)
CMYKcmyk(76.9%, 30.1%, 0%, 32.2%)
CIE-LABlab(48.44, -6.04, -34.53)
CIE-LCHlch(48.44, 35.05, 260.08°)
OKLaboklab(55.23% -0.053 -0.0977)
OKLCHoklch(55.23% 0.111 241.5)
XYZxyz(15.2523, 17.1412, 42.0318)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879AD #AD5C28
analogous
#28AD9F #2879AD #2836AD
triadic
#2879AD #AD2879 #79AD28
tetradic
#2879AD #9F28AD #AD5C28 #36AD28
square
#2879AD #9F28AD #AD5C28 #36AD28
split-complementary
#2879AD #AD2836 #AD9F28
monochromatic
#11334A #1D567B #2879AD #3F99D3 #71B4DE

Accessibility & contrast

On white

4.74
#2879AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2879AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2879AD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879AD#FFFFFF#000000##FFFFFF
##2879AD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617AAF
Deuteranopia (green-blind)
#4E6DAC
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2879ad;
/* rgb */ color: rgb(40, 121, 173);
/* oklch */ color: oklch(55.2% 0.111 241.5);
Tailwind
colors: {
  custom: {
    50: '#769fc5',
    500: '#2879ad',
    950: '#000000',
  },
}
SCSS
$custom: #2879ad;
$custom-light: #769fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2879ad",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 173
  },
  "hsl": {
    "h": 203.459,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55229,
    "c": 0.1112,
    "h": 241.5
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#2879AD
secondary
#C58F6C
accent
#8242E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2879AD

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

Preview Lab → · Contrast checker → · Palette generator →

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