#2C7AAB#2C7AAB

#2C7AAB is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.5% C 0.107 H 240.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2C7AAB
RGBrgb(44, 122, 171)
HSLhsl(203, 59%, 42%)
HSVhsv(203, 74%, 67%)
CMYKcmyk(74.3%, 28.7%, 0%, 32.9%)
CIE-LABlab(48.75, -6.84, -32.86)
CIE-LCHlch(48.75, 33.57, 258.25°)
OKLaboklab(55.48% -0.0525 -0.0929)
OKLCHoklch(55.48% 0.107 240.5)
XYZxyz(15.3461, 17.3930, 41.0686)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7AAB #AB5D2C
analogous
#2CAB9D #2C7AAB #2C3AAB
triadic
#2C7AAB #AB2C7A #7AAB2C
tetradic
#2C7AAB #9D2CAB #AB5D2C #3AAB2C
square
#2C7AAB #9D2CAB #AB5D2C #3AAB2C
split-complementary
#2C7AAB #AB2C3A #AB9D2C
monochromatic
#13354A #1F577A #2C7AAB #459ACF #76B4DC

Accessibility & contrast

On white

4.69
#2C7AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2C7AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7AAB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7AAB#FFFFFF#000000##FFFFFF
##2C7AAB1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637AAD
Deuteranopia (green-blind)
#526EAA
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c7aab;
/* rgb */ color: rgb(44, 122, 171);
/* oklch */ color: oklch(55.5% 0.107 240.5);
Tailwind
colors: {
  custom: {
    50: '#77a0c4',
    500: '#2c7aab',
    950: '#000000',
  },
}
SCSS
$custom: #2c7aab;
$custom-light: #77a0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7aab",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 171
  },
  "hsl": {
    "h": 203.15,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.1067,
    "h": 240.5
  },
  "luminance": 0.17395
}

Semantic roles & 50–950 ramp

primary
#2C7AAB
secondary
#C3906F
accent
#8246E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C7AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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