#2A799B#2A799B

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

Color values

HEX#2A799B
RGBrgb(42, 121, 155)
HSLhsl(198, 57%, 39%)
HSVhsv(198, 73%, 61%)
CMYKcmyk(72.9%, 21.9%, 0%, 39.2%)
CIE-LABlab(47.66, -12.22, -25.21)
CIE-LCHlch(47.66, 28.02, 244.14°)
OKLaboklab(54.36% -0.0582 -0.0708)
OKLCHoklch(54.36% 0.092 230.6)
XYZxyz(13.7062, 16.5320, 33.4726)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A799B #9B4C2A
analogous
#2A9B84 #2A799B #2A409B
triadic
#2A799B #9B2A79 #799B2A
tetradic
#2A799B #842A9B #9B4C2A #409B2A
square
#2A799B #842A9B #9B4C2A #409B2A
split-complementary
#2A799B #9B2A40 #9B842A
monochromatic
#102E3B #1D536B #2A799B #399EC9 #69B5D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A799B#FFFFFF#000000##FFFFFF
##2A799B1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779D
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a799b;
/* rgb */ color: rgb(42, 121, 155);
/* oklch */ color: oklch(54.4% 0.092 230.6);
Tailwind
colors: {
  custom: {
    50: '#739fb8',
    500: '#2a799b',
    950: '#000000',
  },
}
SCSS
$custom: #2a799b;
$custom-light: #739fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a799b",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 155
  },
  "hsl": {
    "h": 198.053,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.09167,
    "h": 230.6
  },
  "luminance": 0.16534
}

Semantic roles & 50–950 ramp

primary
#2A799B
secondary
#BD7F64
accent
#7547E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A799B

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

Preview Lab → · Contrast checker → · Palette generator →

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