#2879A4#2879A4

#2879A4 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.101 H 236.4°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2879A4
RGBrgb(40, 121, 164)
HSLhsl(201, 61%, 40%)
HSVhsv(201, 76%, 64%)
CMYKcmyk(75.6%, 26.2%, 0%, 35.7%)
CIE-LABlab(48.01, -9.30, -29.95)
CIE-LCHlch(48.01, 31.36, 252.74°)
OKLaboklab(54.75% -0.056 -0.0845)
OKLCHoklch(54.75% 0.101 236.4)
XYZxyz(14.4106, 16.8045, 37.5989)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879A4 #A45328
analogous
#28A491 #2879A4 #283BA4
triadic
#2879A4 #A42879 #79A428
tetradic
#2879A4 #9128A4 #A45328 #3BA428
square
#2879A4 #9128A4 #A45328 #3BA428
split-complementary
#2879A4 #A4283B #A49128
monochromatic
#103042 #1C5573 #2879A4 #3A9BCF #6BB4DB

Accessibility & contrast

On white

4.82
#2879A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2879A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2879A4
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2879A4#FFFFFF#000000##FFFFFF
##2879A41.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6479A6
Deuteranopia (green-blind)
#546DA3
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2879a4;
/* rgb */ color: rgb(40, 121, 164);
/* oklch */ color: oklch(54.8% 0.101 236.4);
Tailwind
colors: {
  custom: {
    50: '#749fbf',
    500: '#2879a4',
    950: '#000000',
  },
}
SCSS
$custom: #2879a4;
$custom-light: #749fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2879a4",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 164
  },
  "hsl": {
    "h": 200.806,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.10136,
    "h": 236.4
  },
  "luminance": 0.16806
}

Semantic roles & 50–950 ramp

primary
#2879A4
secondary
#C18666
accent
#7B44E4
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2879A4

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

Preview Lab → · Contrast checker → · Palette generator →

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