#2A799A#2A799A

#2A799A is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.091 H 229.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2A799A
RGBrgb(42, 121, 154)
HSLhsl(198, 57%, 38%)
HSVhsv(198, 73%, 60%)
CMYKcmyk(72.7%, 21.4%, 0%, 39.6%)
CIE-LABlab(47.62, -12.57, -24.69)
CIE-LCHlch(47.62, 27.71, 243.03°)
OKLaboklab(54.31% -0.0586 -0.0693)
OKLCHoklch(54.31% 0.091 229.8)
XYZxyz(13.6226, 16.4985, 33.0322)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A799A #9A4B2A
analogous
#2A9A83 #2A799A #2A419A
triadic
#2A799A #9A2A79 #799A2A
tetradic
#2A799A #832A9A #9A4B2A #419A2A
square
#2A799A #832A9A #9A4B2A #419A2A
split-complementary
#2A799A #9A2A41 #9A832A
monochromatic
#102D3A #1D536A #2A799A #389EC9 #68B6D6

Accessibility & contrast

On white

4.88
#2A799A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2A799A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A799A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A799A#FFFFFF#000000##FFFFFF
##2A799A1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779C
Deuteranopia (green-blind)
#596C9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a799a;
/* rgb */ color: rgb(42, 121, 154);
/* oklch */ color: oklch(54.3% 0.091 229.8);
Tailwind
colors: {
  custom: {
    50: '#739fb8',
    500: '#2a799a',
    950: '#000000',
  },
}
SCSS
$custom: #2a799a;
$custom-light: #739fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a799a",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 154
  },
  "hsl": {
    "h": 197.679,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.09076,
    "h": 229.8
  },
  "luminance": 0.165
}

Semantic roles & 50–950 ramp

primary
#2A799A
secondary
#BC7E63
accent
#7447E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A799A

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

Preview Lab → · Contrast checker → · Palette generator →

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