#2A879A#2A879A

#2A879A is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 57.8% C 0.089 H 214.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2A879A
RGBrgb(42, 135, 154)
HSLhsl(190, 57%, 38%)
HSVhsv(190, 73%, 60%)
CMYKcmyk(72.7%, 12.3%, 0%, 39.6%)
CIE-LABlab(52.01, -20.27, -17.95)
CIE-LCHlch(52.01, 27.07, 221.53°)
OKLaboklab(57.83% -0.0732 -0.05)
OKLCHoklch(57.83% 0.089 214.3)
XYZxyz(15.4491, 20.1515, 33.6410)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A879A #9A3D2A
analogous
#2A9A75 #2A879A #2A4F9A
triadic
#2A879A #9A2A87 #879A2A
tetradic
#2A879A #752A9A #9A3D2A #4F9A2A
square
#2A879A #752A9A #9A3D2A #4F9A2A
split-complementary
#2A879A #9A2A4F #9A752A
monochromatic
#10333A #1D5D6A #2A879A #38B0C9 #68C3D6

Accessibility & contrast

On white

4.17
#2A879A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2A879A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A879A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A879A#FFFFFF#000000##000000
##2A879A1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839B
Deuteranopia (green-blind)
#6A779A
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2a879a;
/* rgb */ color: rgb(42, 135, 154);
/* oklch */ color: oklch(57.8% 0.089 214.3);
Tailwind
colors: {
  custom: {
    50: '#74aab7',
    500: '#2a879a',
    950: '#000000',
  },
}
SCSS
$custom: #2a879a;
$custom-light: #74aab7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a879a",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 154
  },
  "hsl": {
    "h": 190.179,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.08867,
    "h": 214.3
  },
  "luminance": 0.20153
}

Semantic roles & 50–950 ramp

primary
#2A879A
secondary
#BC7363
accent
#6147E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2A879A

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

Preview Lab → · Contrast checker → · Palette generator →

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