#2C799E#2C799E

#2C799E is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.094 H 233.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2C799E
RGBrgb(44, 121, 158)
HSLhsl(199, 56%, 40%)
HSVhsv(199, 72%, 62%)
CMYKcmyk(72.2%, 23.4%, 0%, 38%)
CIE-LABlab(47.85, -10.88, -26.68)
CIE-LCHlch(47.85, 28.81, 247.82°)
OKLaboklab(54.57% -0.056 -0.075)
OKLCHoklch(54.57% 0.094 233.2)
XYZxyz(14.0452, 16.6773, 34.8199)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C799E #9E512C
analogous
#2C9E8A #2C799E #2C409E
triadic
#2C799E #9E2C79 #799E2C
tetradic
#2C799E #8A2C9E #9E512C #409E2C
square
#2C799E #8A2C9E #9E512C #409E2C
split-complementary
#2C799E #9E2C40 #9E8A2C
monochromatic
#11303E #1F546E #2C799E #3E9CC9 #6EB5D7

Accessibility & contrast

On white

4.84
#2C799E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2C799E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C799E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C799E#FFFFFF#000000##FFFFFF
##2C799E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6778A0
Deuteranopia (green-blind)
#576D9D
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c799e;
/* rgb */ color: rgb(44, 121, 158);
/* oklch */ color: oklch(54.6% 0.094 233.2);
Tailwind
colors: {
  custom: {
    50: '#749fba',
    500: '#2c799e',
    950: '#000000',
  },
}
SCSS
$custom: #2c799e;
$custom-light: #749fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c799e",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 158
  },
  "hsl": {
    "h": 199.474,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.09362,
    "h": 233.2
  },
  "luminance": 0.16679
}

Semantic roles & 50–950 ramp

primary
#2C799E
secondary
#BE8468
accent
#7948E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C799E

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

Preview Lab → · Contrast checker → · Palette generator →

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