#2A798E#2A798E

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

Color values

HEX#2A798E
RGBrgb(42, 121, 142)
HSLhsl(193, 54%, 36%)
HSVhsv(193, 70%, 56%)
CMYKcmyk(70.4%, 14.8%, 0%, 44.3%)
CIE-LABlab(47.13, -16.68, -18.38)
CIE-LCHlch(47.13, 24.82, 227.79°)
OKLaboklab(53.75% -0.0634 -0.0513)
OKLCHoklch(53.75% 0.082 219)
XYZxyz(12.6727, 16.1186, 28.0293)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A798E #8E3F2A
analogous
#2A8E71 #2A798E #2A478E
triadic
#2A798E #8E2A79 #798E2A
tetradic
#2A798E #712A8E #8E3F2A #478E2A
square
#2A798E #712A8E #8E3F2A #478E2A
split-complementary
#2A798E #8E2A47 #8E712A
monochromatic
#0E2930 #1C515F #2A798E #38A1BD #62B9D1

Accessibility & contrast

On white

4.97
#2A798E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2A798E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A798E
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A798E#FFFFFF#000000##FFFFFF
##2A798E1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a798e;
/* rgb */ color: rgb(42, 121, 142);
/* oklch */ color: oklch(53.8% 0.082 219.0);
Tailwind
colors: {
  custom: {
    50: '#719faf',
    500: '#2a798e',
    950: '#000000',
  },
}
SCSS
$custom: #2a798e;
$custom-light: #719faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a798e",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 192.6,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53753,
    "c": 0.08152,
    "h": 219
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#2A798E
secondary
#B6705D
accent
#694ADE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A798E

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

Preview Lab → · Contrast checker → · Palette generator →

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