#2A879D#2A879D

#2A879D is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.0% C 0.090 H 217.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2A879D
RGBrgb(42, 135, 157)
HSLhsl(191, 58%, 39%)
HSVhsv(191, 73%, 62%)
CMYKcmyk(73.2%, 14%, 0%, 38.4%)
CIE-LABlab(52.12, -19.28, -19.52)
CIE-LCHlch(52.12, 27.43, 225.36°)
OKLaboklab(57.96% -0.072 -0.0544)
OKLCHoklch(57.96% 0.09 217.1)
XYZxyz(15.7021, 20.2527, 34.9734)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A879D #9D402A
analogous
#2A9D7A #2A879D #2A4E9D
triadic
#2A879D #9D2A87 #879D2A
tetradic
#2A879D #7A2A9D #9D402A #4E9D2A
square
#2A879D #7A2A9D #9D402A #4E9D2A
split-complementary
#2A879D #9D2A4E #9D7A2A
monochromatic
#10343C #1D5D6D #2A879D #3AAFCA #6AC2D7

Accessibility & contrast

On white

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

On black

5.05
#2A879D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A879D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A879D#FFFFFF#000000##000000
##2A879D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a879d;
/* rgb */ color: rgb(42, 135, 157);
/* oklch */ color: oklch(58.0% 0.090 217.1);
Tailwind
colors: {
  custom: {
    50: '#75aaba',
    500: '#2a879d',
    950: '#000000',
  },
}
SCSS
$custom: #2a879d;
$custom-light: #75aaba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a879d",
  "rgb": {
    "r": 42,
    "g": 135,
    "b": 157
  },
  "hsl": {
    "h": 191.478,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57956,
    "c": 0.09025,
    "h": 217.1
  },
  "luminance": 0.20255
}

Semantic roles & 50–950 ramp

primary
#2A879D
secondary
#BE7665
accent
#6447E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2A879D

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

Preview Lab → · Contrast checker → · Palette generator →

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