#2A798B#2A798B

#2A798B is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.6% C 0.080 H 215.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2A798B
RGBrgb(42, 121, 139)
HSLhsl(191, 54%, 35%)
HSVhsv(191, 70%, 55%)
CMYKcmyk(69.8%, 12.9%, 0%, 45.5%)
CIE-LABlab(47.01, -17.68, -16.79)
CIE-LCHlch(47.01, 24.38, 223.52°)
OKLaboklab(53.62% -0.0646 -0.0467)
OKLCHoklch(53.62% 0.08 215.9)
XYZxyz(12.4505, 16.0297, 26.8590)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A798B #8B3C2A
analogous
#2A8B6C #2A798B #2A488B
triadic
#2A798B #8B2A79 #798B2A
tetradic
#2A798B #6C2A8B #8B3C2A #488B2A
square
#2A798B #6C2A8B #8B3C2A #488B2A
split-complementary
#2A798B #8B2A48 #8B6C2A
monochromatic
#0E272D #1C505C #2A798B #38A2BA #60BBCF

Accessibility & contrast

On white

4.99
#2A798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2A798B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A798B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A798B#FFFFFF#000000##FFFFFF
##2A798B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758C
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a798b;
/* rgb */ color: rgb(42, 121, 139);
/* oklch */ color: oklch(53.6% 0.080 215.9);
Tailwind
colors: {
  custom: {
    50: '#71a0ad',
    500: '#2a798b',
    950: '#000000',
  },
}
SCSS
$custom: #2a798b;
$custom-light: #71a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a798b",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 191.134,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53621,
    "c": 0.07977,
    "h": 215.9
  },
  "luminance": 0.16031
}

Semantic roles & 50–950 ramp

primary
#2A798B
secondary
#B56C5C
accent
#664BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2A798B

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

Preview Lab → · Contrast checker → · Palette generator →

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