#2C7BAB#2C7BAB

#2C7BAB is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.106 H 239.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2C7BAB
RGBrgb(44, 123, 171)
HSLhsl(203, 59%, 42%)
HSVhsv(203, 74%, 67%)
CMYKcmyk(74.3%, 28.1%, 0%, 32.9%)
CIE-LABlab(49.06, -7.42, -32.39)
CIE-LCHlch(49.06, 33.23, 257.09°)
OKLaboklab(55.72% -0.0535 -0.0915)
OKLCHoklch(55.72% 0.106 239.7)
XYZxyz(15.4695, 17.6399, 41.1097)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7BAB #AB5C2C
analogous
#2CAB9C #2C7BAB #2C3CAB
triadic
#2C7BAB #AB2C7B #7BAB2C
tetradic
#2C7BAB #9C2CAB #AB5C2C #3CAB2C
square
#2C7BAB #9C2CAB #AB5C2C #3CAB2C
split-complementary
#2C7BAB #AB2C3C #AB9C2C
monochromatic
#13354A #1F587A #2C7BAB #459BCF #76B5DC

Accessibility & contrast

On white

4.64
#2C7BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2C7BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7BAB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7BAB#FFFFFF#000000##FFFFFF
##2C7BAB1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAD
Deuteranopia (green-blind)
#536FAA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c7bab;
/* rgb */ color: rgb(44, 123, 171);
/* oklch */ color: oklch(55.7% 0.106 239.7);
Tailwind
colors: {
  custom: {
    50: '#77a1c4',
    500: '#2c7bab',
    950: '#000000',
  },
}
SCSS
$custom: #2c7bab;
$custom-light: #77a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7bab",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 202.677,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.10598,
    "h": 239.7
  },
  "luminance": 0.17642
}

Semantic roles & 50–950 ramp

primary
#2C7BAB
secondary
#C38F6F
accent
#8146E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C7BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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