#2A798F#2A798F

#2A798F is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.082 H 220.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2A798F
RGBrgb(42, 121, 143)
HSLhsl(193, 55%, 36%)
HSVhsv(193, 71%, 56%)
CMYKcmyk(70.6%, 15.4%, 0%, 43.9%)
CIE-LABlab(47.17, -16.34, -18.91)
CIE-LCHlch(47.17, 24.99, 229.18°)
OKLaboklab(53.8% -0.063 -0.0528)
OKLCHoklch(53.8% 0.082 220)
XYZxyz(12.7481, 16.1487, 28.4264)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A798F #8F402A
analogous
#2A8F73 #2A798F #2A478F
triadic
#2A798F #8F2A79 #798F2A
tetradic
#2A798F #732A8F #8F402A #478F2A
square
#2A798F #732A8F #8F402A #478F2A
split-complementary
#2A798F #8F2A47 #8F732A
monochromatic
#0E2930 #1C5160 #2A798F #38A1BE #62B9D1

Accessibility & contrast

On white

4.96
#2A798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2A798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A798F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A798F#FFFFFF#000000##FFFFFF
##2A798F1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a798f;
/* rgb */ color: rgb(42, 121, 143);
/* oklch */ color: oklch(53.8% 0.082 220.0);
Tailwind
colors: {
  custom: {
    50: '#719faf',
    500: '#2a798f',
    950: '#000000',
  },
}
SCSS
$custom: #2a798f;
$custom-light: #719faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a798f",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 193.069,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.08216,
    "h": 220
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#2A798F
secondary
#B7715E
accent
#6A4ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A798F

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

Preview Lab → · Contrast checker → · Palette generator →

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