#2A798C#2A798C

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

Color values

HEX#2A798C
RGBrgb(42, 121, 140)
HSLhsl(192, 54%, 36%)
HSVhsv(192, 70%, 55%)
CMYKcmyk(70%, 13.6%, 0%, 45.1%)
CIE-LABlab(47.05, -17.34, -17.32)
CIE-LCHlch(47.05, 24.51, 224.96°)
OKLaboklab(53.66% -0.0642 -0.0482)
OKLCHoklch(53.66% 0.08 216.9)
XYZxyz(12.5239, 16.0590, 27.2455)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A798C #8C3D2A
analogous
#2A8C6E #2A798C #2A488C
triadic
#2A798C #8C2A79 #798C2A
tetradic
#2A798C #6E2A8C #8C3D2A #488C2A
square
#2A798C #6E2A8C #8C3D2A #488C2A
split-complementary
#2A798C #8C2A48 #8C6E2A
monochromatic
#0E282E #1C505D #2A798C #38A2BB #61BAD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A798C#FFFFFF#000000##FFFFFF
##2A798C1.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)
#6C758D
Deuteranopia (green-blind)
#5F6B8C
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a798c;
/* rgb */ color: rgb(42, 121, 140);
/* oklch */ color: oklch(53.7% 0.080 216.9);
Tailwind
colors: {
  custom: {
    50: '#71a0ad',
    500: '#2a798c',
    950: '#000000',
  },
}
SCSS
$custom: #2a798c;
$custom-light: #71a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a798c",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 191.633,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53664,
    "c": 0.08033,
    "h": 216.9
  },
  "luminance": 0.1606
}

Semantic roles & 50–950 ramp

primary
#2A798C
secondary
#B56E5C
accent
#674BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A798C

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

Preview Lab → · Contrast checker → · Palette generator →

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