#2879A3#2879A3

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

Color values

HEX#2879A3
RGBrgb(40, 121, 163)
HSLhsl(200, 61%, 40%)
HSVhsv(200, 75%, 64%)
CMYKcmyk(75.5%, 25.8%, 0%, 36.1%)
CIE-LABlab(47.97, -9.66, -29.43)
CIE-LCHlch(47.97, 30.98, 251.83°)
OKLaboklab(54.7% -0.0564 -0.083)
OKLCHoklch(54.7% 0.1 235.8)
XYZxyz(14.3207, 16.7685, 37.1251)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2879A3 #A35228
analogous
#28A390 #2879A3 #283BA3
triadic
#2879A3 #A32879 #79A328
tetradic
#2879A3 #9028A3 #A35228 #3BA328
square
#2879A3 #9028A3 #A35228 #3BA328
split-complementary
#2879A3 #A3283B #A39028
monochromatic
#103041 #1C5572 #2879A3 #3A9CCF #6BB4DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2879A3#FFFFFF#000000##FFFFFF
##2879A31.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A5
Deuteranopia (green-blind)
#546DA2
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2879a3;
/* rgb */ color: rgb(40, 121, 163);
/* oklch */ color: oklch(54.7% 0.100 235.8);
Tailwind
colors: {
  custom: {
    50: '#749fbe',
    500: '#2879a3',
    950: '#000000',
  },
}
SCSS
$custom: #2879a3;
$custom-light: #749fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2879a3",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 163
  },
  "hsl": {
    "h": 200.488,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54701,
    "c": 0.10032,
    "h": 235.8
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2879A3

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

Preview Lab → · Contrast checker → · Palette generator →

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