#2C7CAB#2C7CAB

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

Color values

HEX#2C7CAB
RGBrgb(44, 124, 171)
HSLhsl(202, 59%, 42%)
HSVhsv(202, 74%, 67%)
CMYKcmyk(74.3%, 27.5%, 0%, 32.9%)
CIE-LABlab(49.36, -8.01, -31.91)
CIE-LCHlch(49.36, 32.90, 255.91°)
OKLaboklab(55.96% -0.0545 -0.0901)
OKLCHoklch(55.96% 0.105 238.8)
XYZxyz(15.5942, 17.8893, 41.1513)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7CAB #AB5B2C
analogous
#2CAB9B #2C7CAB #2C3CAB
triadic
#2C7CAB #AB2C7C #7CAB2C
tetradic
#2C7CAB #9B2CAB #AB5B2C #3CAB2C
square
#2C7CAB #9B2CAB #AB5B2C #3CAB2C
split-complementary
#2C7CAB #AB2C3C #AB9B2C
monochromatic
#13354A #1F597A #2C7CAB #459CCF #76B6DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7CAB#FFFFFF#000000##FFFFFF
##2C7CAB1.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)
#667CAD
Deuteranopia (green-blind)
#5570AA
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c7cab;
/* rgb */ color: rgb(44, 124, 171);
/* oklch */ color: oklch(56.0% 0.105 238.8);
Tailwind
colors: {
  custom: {
    50: '#77a1c4',
    500: '#2c7cab',
    950: '#000000',
  },
}
SCSS
$custom: #2c7cab;
$custom-light: #77a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7cab",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 171
  },
  "hsl": {
    "h": 202.205,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5596,
    "c": 0.10529,
    "h": 238.8
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#2C7CAB
secondary
#C38E6F
accent
#8046E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2C7CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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