#2C7E9D#2C7E9D

#2C7E9D is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.8% C 0.091 H 227.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2C7E9D
RGBrgb(44, 126, 157)
HSLhsl(196, 56%, 39%)
HSVhsv(196, 72%, 62%)
CMYKcmyk(72%, 19.7%, 0%, 38.4%)
CIE-LABlab(49.36, -14.06, -23.76)
CIE-LCHlch(49.36, 27.60, 239.38°)
OKLaboklab(55.76% -0.0616 -0.0665)
OKLCHoklch(55.76% 0.091 227.2)
XYZxyz(14.5829, 17.8898, 34.5763)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7E9D #9D4B2C
analogous
#2C9D84 #2C7E9D #2C469D
triadic
#2C7E9D #9D2C7E #7E9D2C
tetradic
#2C7E9D #842C9D #9D4B2C #469D2C
square
#2C7E9D #842C9D #9D4B2C #469D2C
split-complementary
#2C7E9D #9D2C46 #9D842C
monochromatic
#11313D #1F586D #2C7E9D #3DA3C9 #6DB9D6

Accessibility & contrast

On white

4.59
#2C7E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2C7E9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7E9D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7E9D#FFFFFF#000000##FFFFFF
##2C7E9D1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7C9F
Deuteranopia (green-blind)
#5E709D
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c7e9d;
/* rgb */ color: rgb(44, 126, 157);
/* oklch */ color: oklch(55.8% 0.091 227.2);
Tailwind
colors: {
  custom: {
    50: '#74a3ba',
    500: '#2c7e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2c7e9d;
$custom-light: #74a3ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7e9d",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 157
  },
  "hsl": {
    "h": 196.46,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.0907,
    "h": 227.2
  },
  "luminance": 0.17892
}

Semantic roles & 50–950 ramp

primary
#2C7E9D
secondary
#BD7F68
accent
#7248E0
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2C7E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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