#2A799C#2A799C

#2A799C is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.4% C 0.093 H 231.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2A799C
RGBrgb(42, 121, 156)
HSLhsl(198, 58%, 39%)
HSVhsv(198, 73%, 61%)
CMYKcmyk(73.1%, 22.4%, 0%, 38.8%)
CIE-LABlab(47.71, -11.87, -25.73)
CIE-LCHlch(47.71, 28.34, 245.24°)
OKLaboklab(54.41% -0.0579 -0.0723)
OKLCHoklch(54.41% 0.093 231.3)
XYZxyz(13.7906, 16.5657, 33.9167)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A799C #9C4D2A
analogous
#2A9C86 #2A799C #2A409C
triadic
#2A799C #9C2A79 #799C2A
tetradic
#2A799C #862A9C #9C4D2A #409C2A
square
#2A799C #862A9C #9C4D2A #409C2A
split-complementary
#2A799C #9C2A40 #9C862A
monochromatic
#102E3C #1D546C #2A799C #399DCA #6AB5D7

Accessibility & contrast

On white

4.87
#2A799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2A799C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A799C
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A799C#FFFFFF#000000##FFFFFF
##2A799C1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779E
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a799c;
/* rgb */ color: rgb(42, 121, 156);
/* oklch */ color: oklch(54.4% 0.093 231.3);
Tailwind
colors: {
  custom: {
    50: '#739fb9',
    500: '#2a799c',
    950: '#000000',
  },
}
SCSS
$custom: #2a799c;
$custom-light: #739fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a799c",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 198.421,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54407,
    "c": 0.09259,
    "h": 231.3
  },
  "luminance": 0.16567
}

Semantic roles & 50–950 ramp

primary
#2A799C
secondary
#BD8065
accent
#7647E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A799C

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

Preview Lab → · Contrast checker → · Palette generator →

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