#2879A2#2879A2

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

Color values

HEX#2879A2
RGBrgb(40, 121, 162)
HSLhsl(200, 60%, 40%)
HSVhsv(200, 75%, 64%)
CMYKcmyk(75.3%, 25.3%, 0%, 36.5%)
CIE-LABlab(47.92, -10.02, -28.92)
CIE-LCHlch(47.92, 30.61, 250.89°)
OKLaboklab(54.65% -0.0567 -0.0815)
OKLCHoklch(54.65% 0.099 235.2)
XYZxyz(14.2314, 16.7328, 36.6551)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879A2 #A25128
analogous
#28A28E #2879A2 #283CA2
triadic
#2879A2 #A22879 #79A228
tetradic
#2879A2 #8E28A2 #A25128 #3CA228
square
#2879A2 #8E28A2 #A25128 #3CA228
split-complementary
#2879A2 #A2283C #A28E28
monochromatic
#103040 #1C5471 #2879A2 #399CCE #6AB5DA

Accessibility & contrast

On white

4.83
#2879A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2879A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2879A2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879A2#FFFFFF#000000##FFFFFF
##2879A21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2879a2;
/* rgb */ color: rgb(40, 121, 162);
/* oklch */ color: oklch(54.6% 0.099 235.2);
Tailwind
colors: {
  custom: {
    50: '#749fbd',
    500: '#2879a2',
    950: '#000000',
  },
}
SCSS
$custom: #2879a2;
$custom-light: #749fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2879a2",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 200.164,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5465,
    "c": 0.09929,
    "h": 235.2
  },
  "luminance": 0.16734
}

Semantic roles & 50–950 ramp

primary
#2879A2
secondary
#C18465
accent
#7A44E4
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2879A2

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

Preview Lab → · Contrast checker → · Palette generator →

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