#2C7A9E#2C7A9E

#2C7A9E is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.8% C 0.093 H 232.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2C7A9E
RGBrgb(44, 122, 158)
HSLhsl(199, 56%, 40%)
HSVhsv(199, 72%, 62%)
CMYKcmyk(72.2%, 22.8%, 0%, 38%)
CIE-LABlab(48.16, -11.45, -26.20)
CIE-LCHlch(48.16, 28.59, 246.39°)
OKLaboklab(54.81% -0.0571 -0.0736)
OKLCHoklch(54.81% 0.093 232.2)
XYZxyz(14.1673, 16.9216, 34.8607)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7A9E #9E502C
analogous
#2C9E89 #2C7A9E #2C419E
triadic
#2C7A9E #9E2C7A #7A9E2C
tetradic
#2C7A9E #892C9E #9E502C #419E2C
square
#2C7A9E #892C9E #9E502C #419E2C
split-complementary
#2C7A9E #9E2C41 #9E892C
monochromatic
#11303E #1F556E #2C7A9E #3E9DC9 #6EB5D7

Accessibility & contrast

On white

4.79
#2C7A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2C7A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7A9E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7A9E#FFFFFF#000000##FFFFFF
##2C7A9E1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6879A0
Deuteranopia (green-blind)
#596D9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c7a9e;
/* rgb */ color: rgb(44, 122, 158);
/* oklch */ color: oklch(54.8% 0.093 232.2);
Tailwind
colors: {
  custom: {
    50: '#74a0ba',
    500: '#2c7a9e',
    950: '#000000',
  },
}
SCSS
$custom: #2c7a9e;
$custom-light: #74a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7a9e",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 158
  },
  "hsl": {
    "h": 198.947,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54812,
    "c": 0.09314,
    "h": 232.2
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C7A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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