#2C7AA6#2C7AA6

#2C7AA6 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.101 H 237.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2C7AA6
RGBrgb(44, 122, 166)
HSLhsl(202, 58%, 41%)
HSVhsv(202, 73%, 65%)
CMYKcmyk(73.5%, 26.5%, 0%, 34.9%)
CIE-LABlab(48.52, -8.63, -30.32)
CIE-LCHlch(48.52, 31.52, 254.12°)
OKLaboklab(55.22% -0.0542 -0.0855)
OKLCHoklch(55.22% 0.101 237.6)
XYZxyz(14.8785, 17.2060, 38.6060)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7AA6 #A6582C
analogous
#2CA695 #2C7AA6 #2C3DA6
triadic
#2C7AA6 #A62C7A #7AA62C
tetradic
#2C7AA6 #952CA6 #A6582C #3DA62C
square
#2C7AA6 #952CA6 #A6582C #3DA62C
split-complementary
#2C7AA6 #A62C3D #A6952C
monochromatic
#123345 #1F5676 #2C7AA6 #429BCD #73B5DA

Accessibility & contrast

On white

4.73
#2C7AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2C7AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7AA6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7AA6#FFFFFF#000000##FFFFFF
##2C7AA61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657AA8
Deuteranopia (green-blind)
#556EA5
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c7aa6;
/* rgb */ color: rgb(44, 122, 166);
/* oklch */ color: oklch(55.2% 0.101 237.6);
Tailwind
colors: {
  custom: {
    50: '#76a0c0',
    500: '#2c7aa6',
    950: '#000000',
  },
}
SCSS
$custom: #2c7aa6;
$custom-light: #76a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7aa6",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 166
  },
  "hsl": {
    "h": 201.639,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55215,
    "c": 0.10124,
    "h": 237.6
  },
  "luminance": 0.17208
}

Semantic roles & 50–950 ramp

primary
#2C7AA6
secondary
#C18B6D
accent
#7E46E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C7AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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