#2A799D#2A799D

#2A799D is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.094 H 232.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2A799D
RGBrgb(42, 121, 157)
HSLhsl(199, 58%, 39%)
HSVhsv(199, 73%, 62%)
CMYKcmyk(73.2%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.75, -11.52, -26.25)
CIE-LCHlch(47.75, 28.67, 246.31°)
OKLaboklab(54.46% -0.0575 -0.0738)
OKLCHoklch(54.46% 0.094 232.1)
XYZxyz(13.8756, 16.5997, 34.3645)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A799D #9D4E2A
analogous
#2A9D88 #2A799D #2A3F9D
triadic
#2A799D #9D2A79 #799D2A
tetradic
#2A799D #882A9D #9D4E2A #3F9D2A
square
#2A799D #882A9D #9D4E2A #3F9D2A
split-complementary
#2A799D #9D2A3F #9D882A
monochromatic
#102F3C #1D546D #2A799D #3A9DCA #6AB5D7

Accessibility & contrast

On white

4.86
#2A799D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2A799D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A799D
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A799D#FFFFFF#000000##FFFFFF
##2A799D1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67789F
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a799d;
/* rgb */ color: rgb(42, 121, 157);
/* oklch */ color: oklch(54.5% 0.094 232.1);
Tailwind
colors: {
  custom: {
    50: '#739fba',
    500: '#2a799d',
    950: '#000000',
  },
}
SCSS
$custom: #2a799d;
$custom-light: #739fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a799d",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 198.783,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54456,
    "c": 0.09354,
    "h": 232.1
  },
  "luminance": 0.16601
}

Semantic roles & 50–950 ramp

primary
#2A799D
secondary
#BE8165
accent
#7747E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A799D

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

Preview Lab → · Contrast checker → · Palette generator →

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