#2A799F#2A799F

#2A799F is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.095 H 233.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2A799F
RGBrgb(42, 121, 159)
HSLhsl(199, 58%, 39%)
HSVhsv(199, 74%, 62%)
CMYKcmyk(73.6%, 23.9%, 0%, 37.6%)
CIE-LABlab(47.84, -10.81, -27.29)
CIE-LCHlch(47.84, 29.35, 248.38°)
OKLaboklab(54.56% -0.0568 -0.0768)
OKLCHoklch(54.56% 0.095 233.5)
XYZxyz(14.0477, 16.6686, 35.2712)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A799F #9F502A
analogous
#2A9F8B #2A799F #2A3F9F
triadic
#2A799F #9F2A79 #799F2A
tetradic
#2A799F #8B2A9F #9F502A #3F9F2A
square
#2A799F #8B2A9F #9F502A #3F9F2A
split-complementary
#2A799F #9F2A3F #9F8B2A
monochromatic
#102F3E #1D546F #2A799F #3B9CCB #6BB5D8

Accessibility & contrast

On white

4.85
#2A799F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2A799F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A799F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A799F#FFFFFF#000000##FFFFFF
##2A799F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A1
Deuteranopia (green-blind)
#566D9E
Tritanopia (blue-blind)
#008386
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a799f;
/* rgb */ color: rgb(42, 121, 159);
/* oklch */ color: oklch(54.6% 0.095 233.5);
Tailwind
colors: {
  custom: {
    50: '#749fbb',
    500: '#2a799f',
    950: '#000000',
  },
}
SCSS
$custom: #2a799f;
$custom-light: #749fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a799f",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 159
  },
  "hsl": {
    "h": 199.487,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.09547,
    "h": 233.5
  },
  "luminance": 0.1667
}

Semantic roles & 50–950 ramp

primary
#2A799F
secondary
#BF8366
accent
#7946E1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A799F

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

Preview Lab → · Contrast checker → · Palette generator →

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