#2A879C#2A879C

#2A879C is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 57.9% C 0.090 H 216.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2A879C
RGBrgb(42, 135, 156)
HSLhsl(191, 58%, 39%)
HSVhsv(191, 73%, 61%)
CMYKcmyk(73.1%, 13.5%, 0%, 38.8%)
CIE-LABlab(52.08, -19.61, -19.00)
CIE-LCHlch(52.08, 27.30, 224.09°)
OKLaboklab(57.91% -0.0724 -0.053)
OKLCHoklch(57.91% 0.09 216.2)
XYZxyz(15.6170, 20.2187, 34.5256)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A879C #9C3F2A
analogous
#2A9C78 #2A879C #2A4E9C
triadic
#2A879C #9C2A87 #879C2A
tetradic
#2A879C #782A9C #9C3F2A #4E9C2A
square
#2A879C #782A9C #9C3F2A #4E9C2A
split-complementary
#2A879C #9C2A4E #9C782A
monochromatic
#10343C #1D5D6C #2A879C #39AFCA #6AC3D7

Accessibility & contrast

On white

4.16
#2A879C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#2A879C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A879C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A879C#FFFFFF#000000##000000
##2A879C1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839D
Deuteranopia (green-blind)
#69779C
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a879c;
/* rgb */ color: rgb(42, 135, 156);
/* oklch */ color: oklch(57.9% 0.090 216.2);
Tailwind
colors: {
  custom: {
    50: '#74aab9',
    500: '#2a879c',
    950: '#000000',
  },
}
SCSS
$custom: #2a879c;
$custom-light: #74aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a879c",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 191.053,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57912,
    "c": 0.0897,
    "h": 216.2
  },
  "luminance": 0.2022
}

Semantic roles & 50–950 ramp

primary
#2A879C
secondary
#BD7565
accent
#6347E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2A879C

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

Preview Lab → · Contrast checker → · Palette generator →

#2A879C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva