#2C799D#2C799D

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

Color values

HEX#2C799D
RGBrgb(44, 121, 157)
HSLhsl(199, 56%, 39%)
HSVhsv(199, 72%, 62%)
CMYKcmyk(72%, 22.9%, 0%, 38.4%)
CIE-LABlab(47.81, -11.23, -26.16)
CIE-LCHlch(47.81, 28.47, 246.78°)
OKLaboklab(54.52% -0.0564 -0.0735)
OKLCHoklch(54.52% 0.093 232.5)
XYZxyz(13.9595, 16.6430, 34.3685)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C799D #9D502C
analogous
#2C9D89 #2C799D #2C419D
triadic
#2C799D #9D2C79 #799D2C
tetradic
#2C799D #892C9D #9D502C #419D2C
square
#2C799D #892C9D #9D502C #419D2C
split-complementary
#2C799D #9D2C41 #9D892C
monochromatic
#112F3D #1F546D #2C799D #3D9CC9 #6DB5D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C799D#FFFFFF#000000##FFFFFF
##2C799D1.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)
#67789F
Deuteranopia (green-blind)
#586D9C
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c799d;
/* rgb */ color: rgb(44, 121, 157);
/* oklch */ color: oklch(54.5% 0.093 232.5);
Tailwind
colors: {
  custom: {
    50: '#749fba',
    500: '#2c799d',
    950: '#000000',
  },
}
SCSS
$custom: #2c799d;
$custom-light: #749fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c799d",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 157
  },
  "hsl": {
    "h": 199.115,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54516,
    "c": 0.09265,
    "h": 232.5
  },
  "luminance": 0.16645
}

Semantic roles & 50–950 ramp

primary
#2C799D
secondary
#BD8368
accent
#7848E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C799D

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

Preview Lab → · Contrast checker → · Palette generator →

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