#2A798D#2A798D

#2A798D is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.7% C 0.081 H 218.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2A798D
RGBrgb(42, 121, 141)
HSLhsl(192, 54%, 36%)
HSVhsv(192, 70%, 55%)
CMYKcmyk(70.2%, 14.2%, 0%, 44.7%)
CIE-LABlab(47.09, -17.01, -17.85)
CIE-LCHlch(47.09, 24.66, 226.38°)
OKLaboklab(53.71% -0.0638 -0.0498)
OKLCHoklch(53.71% 0.081 218)
XYZxyz(12.5979, 16.0887, 27.6356)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A798D #8D3E2A
analogous
#2A8D6F #2A798D #2A478D
triadic
#2A798D #8D2A79 #798D2A
tetradic
#2A798D #6F2A8D #8D3E2A #478D2A
square
#2A798D #6F2A8D #8D3E2A #478D2A
split-complementary
#2A798D #8D2A47 #8D6F2A
monochromatic
#0E282F #1C515E #2A798D #38A1BC #61BAD0

Accessibility & contrast

On white

4.98
#2A798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A798D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A798D#FFFFFF#000000##FFFFFF
##2A798D1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758E
Deuteranopia (green-blind)
#5E6B8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a798d;
/* rgb */ color: rgb(42, 121, 141);
/* oklch */ color: oklch(53.7% 0.081 218.0);
Tailwind
colors: {
  custom: {
    50: '#71a0ae',
    500: '#2a798d',
    950: '#000000',
  },
}
SCSS
$custom: #2a798d;
$custom-light: #71a0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a798d",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 192.121,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.08091,
    "h": 218
  },
  "luminance": 0.1609
}

Semantic roles & 50–950 ramp

primary
#2A798D
secondary
#B66F5D
accent
#684ADD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A798D

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

Preview Lab → · Contrast checker → · Palette generator →

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