#2B799C#2B799C

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

Color values

HEX#2B799C
RGBrgb(43, 121, 156)
HSLhsl(199, 57%, 39%)
HSVhsv(199, 72%, 61%)
CMYKcmyk(72.4%, 22.4%, 0%, 38.8%)
CIE-LABlab(47.74, -11.72, -25.69)
CIE-LCHlch(47.74, 28.24, 245.47°)
OKLaboklab(54.44% -0.0573 -0.0721)
OKLCHoklch(54.44% 0.092 231.5)
XYZxyz(13.8320, 16.5871, 33.9187)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B799C #9C4E2B
analogous
#2B9C87 #2B799C #2B419C
triadic
#2B799C #9C2B79 #799C2B
tetradic
#2B799C #872B9C #9C4E2B #419C2B
square
#2B799C #872B9C #9C4E2B #419C2B
split-complementary
#2B799C #9C2B41 #9C872B
monochromatic
#112F3C #1E546C #2B799C #3B9DC9 #6BB5D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B799C#FFFFFF#000000##FFFFFF
##2B799C1.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)
#67779E
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b799c;
/* rgb */ color: rgb(43, 121, 156);
/* oklch */ color: oklch(54.4% 0.092 231.5);
Tailwind
colors: {
  custom: {
    50: '#749fb9',
    500: '#2b799c',
    950: '#000000',
  },
}
SCSS
$custom: #2b799c;
$custom-light: #749fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b799c",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 198.584,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54436,
    "c": 0.09215,
    "h": 231.5
  },
  "luminance": 0.16589
}

Semantic roles & 50–950 ramp

primary
#2B799C
secondary
#BD8166
accent
#7748E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B799C

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

Preview Lab → · Contrast checker → · Palette generator →

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