#2C7EAB#2C7EAB

#2C7EAB is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.104 H 237.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C7EAB
RGBrgb(44, 126, 171)
HSLhsl(201, 59%, 42%)
HSVhsv(201, 74%, 67%)
CMYKcmyk(74.3%, 26.3%, 0%, 32.9%)
CIE-LABlab(49.97, -9.17, -30.95)
CIE-LCHlch(49.97, 32.28, 253.50°)
OKLaboklab(56.45% -0.0565 -0.0873)
OKLCHoklch(56.45% 0.104 237.1)
XYZxyz(15.8473, 18.3956, 41.2357)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7EAB #AB592C
analogous
#2CAB99 #2C7EAB #2C3EAB
triadic
#2C7EAB #AB2C7E #7EAB2C
tetradic
#2C7EAB #992CAB #AB592C #3EAB2C
square
#2C7EAB #992CAB #AB592C #3EAB2C
split-complementary
#2C7EAB #AB2C3E #AB992C
monochromatic
#13364A #1F5A7A #2C7EAB #459ECF #76B8DC

Accessibility & contrast

On white

4.49
#2C7EAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2C7EAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7EAB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7EAB#FFFFFF#000000##000000
##2C7EAB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#697EAD
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7eab;
/* rgb */ color: rgb(44, 126, 171);
/* oklch */ color: oklch(56.4% 0.104 237.1);
Tailwind
colors: {
  custom: {
    50: '#77a3c4',
    500: '#2c7eab',
    950: '#000000',
  },
}
SCSS
$custom: #2c7eab;
$custom-light: #77a3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7eab",
  "rgb": {
    "r": 44,
    "g": 126,
    "b": 171
  },
  "hsl": {
    "h": 201.26,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.10399,
    "h": 237.1
  },
  "luminance": 0.18397
}

Semantic roles & 50–950 ramp

primary
#2C7EAB
secondary
#C38D6F
accent
#7D46E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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