#2A798A#2A798A

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

Color values

HEX#2A798A
RGBrgb(42, 121, 138)
HSLhsl(191, 53%, 35%)
HSVhsv(191, 70%, 54%)
CMYKcmyk(69.6%, 12.3%, 0%, 45.9%)
CIE-LABlab(46.98, -18.01, -16.25)
CIE-LCHlch(46.98, 24.26, 222.07°)
OKLaboklab(53.58% -0.0651 -0.0452)
OKLCHoklch(53.58% 0.079 214.8)
XYZxyz(12.3777, 16.0006, 26.4759)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A798A #8A3B2A
analogous
#2A8A6B #2A798A #2A498A
triadic
#2A798A #8A2A79 #798A2A
tetradic
#2A798A #6B2A8A #8A3B2A #498A2A
square
#2A798A #6B2A8A #8A3B2A #498A2A
split-complementary
#2A798A #8A2A49 #8A6B2A
monochromatic
#0D272C #1C505B #2A798A #38A2B9 #60BBCF

Accessibility & contrast

On white

5.00
#2A798A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2A798A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A798A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A798A#FFFFFF#000000##FFFFFF
##2A798A1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758B
Deuteranopia (green-blind)
#5F6B8A
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a798a;
/* rgb */ color: rgb(42, 121, 138);
/* oklch */ color: oklch(53.6% 0.079 214.8);
Tailwind
colors: {
  custom: {
    50: '#71a0ac',
    500: '#2a798a',
    950: '#000000',
  },
}
SCSS
$custom: #2a798a;
$custom-light: #71a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a798a",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 190.625,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.07925,
    "h": 214.8
  },
  "luminance": 0.16002
}

Semantic roles & 50–950 ramp

primary
#2A798A
secondary
#B46B5B
accent
#654BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2A798A

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

Preview Lab → · Contrast checker → · Palette generator →

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