#2D799C#2D799C

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

Color values

HEX#2D799C
RGBrgb(45, 121, 156)
HSLhsl(199, 55%, 39%)
HSVhsv(199, 71%, 61%)
CMYKcmyk(71.2%, 22.4%, 0%, 38.8%)
CIE-LABlab(47.79, -11.43, -25.60)
CIE-LCHlch(47.79, 28.03, 245.95°)
OKLaboklab(54.5% -0.0562 -0.0719)
OKLCHoklch(54.5% 0.091 232)
XYZxyz(13.9179, 16.6314, 33.9227)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D799C #9C502D
analogous
#2D9C88 #2D799C #2D429C
triadic
#2D799C #9C2D79 #799C2D
tetradic
#2D799C #882D9C #9C502D #429C2D
square
#2D799C #882D9C #9C502D #429C2D
split-complementary
#2D799C #9C2D42 #9C882D
monochromatic
#122F3D #1F546D #2D799C #3F9CC8 #6EB5D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D799C#FFFFFF#000000##FFFFFF
##2D799C1.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)
#68789E
Deuteranopia (green-blind)
#586D9B
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d799c;
/* rgb */ color: rgb(45, 121, 156);
/* oklch */ color: oklch(54.5% 0.091 232.0);
Tailwind
colors: {
  custom: {
    50: '#749fb9',
    500: '#2d799c',
    950: '#000000',
  },
}
SCSS
$custom: #2d799c;
$custom-light: #749fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d799c",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 198.919,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.09124,
    "h": 232
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#2D799C
secondary
#BC8368
accent
#7849DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D799C

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

Preview Lab → · Contrast checker → · Palette generator →

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