#2A799E#2A799E

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

Color values

HEX#2A799E
RGBrgb(42, 121, 158)
HSLhsl(199, 58%, 39%)
HSVhsv(199, 73%, 62%)
CMYKcmyk(73.4%, 23.4%, 0%, 38%)
CIE-LABlab(47.80, -11.17, -26.77)
CIE-LCHlch(47.80, 29.01, 247.36°)
OKLaboklab(54.51% -0.0571 -0.0753)
OKLCHoklch(54.51% 0.095 232.8)
XYZxyz(13.9613, 16.6340, 34.8160)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A799E #9E4F2A
analogous
#2A9E89 #2A799E #2A3F9E
triadic
#2A799E #9E2A79 #799E2A
tetradic
#2A799E #892A9E #9E4F2A #3F9E2A
square
#2A799E #892A9E #9E4F2A #3F9E2A
split-complementary
#2A799E #9E2A3F #9E892A
monochromatic
#102F3D #1D546E #2A799E #3A9DCB #6BB5D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A799E#FFFFFF#000000##FFFFFF
##2A799E1.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)
#6778A0
Deuteranopia (green-blind)
#576C9D
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a799e;
/* rgb */ color: rgb(42, 121, 158);
/* oklch */ color: oklch(54.5% 0.095 232.8);
Tailwind
colors: {
  custom: {
    50: '#749fba',
    500: '#2a799e',
    950: '#000000',
  },
}
SCSS
$custom: #2a799e;
$custom-light: #749fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a799e",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 199.138,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54505,
    "c": 0.0945,
    "h": 232.8
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#2A799E
secondary
#BE8266
accent
#7847E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A799E

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

Preview Lab → · Contrast checker → · Palette generator →

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