#2C7FAD#2C7FAD

#2C7FAD is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.8% C 0.105 H 237.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2C7FAD
RGBrgb(44, 127, 173)
HSLhsl(201, 59%, 43%)
HSVhsv(201, 75%, 68%)
CMYKcmyk(74.6%, 26.6%, 0%, 32.2%)
CIE-LABlab(50.37, -9.03, -31.49)
CIE-LCHlch(50.37, 32.76, 253.99°)
OKLaboklab(56.79% -0.0568 -0.0888)
OKLCHoklch(56.79% 0.105 237.4)
XYZxyz(16.1679, 18.7295, 42.2901)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FAD #AD5A2C
analogous
#2CAD9A #2C7FAD #2C3FAD
triadic
#2C7FAD #AD2C7F #7FAD2C
tetradic
#2C7FAD #9A2CAD #AD5A2C #3FAD2C
square
#2C7FAD #9A2CAD #AD5A2C #3FAD2C
split-complementary
#2C7FAD #AD2C3F #AD9A2C
monochromatic
#13374B #205B7C #2C7FAD #469FD0 #77B8DC

Accessibility & contrast

On white

4.42
#2C7FAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2C7FAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FAD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FAD#FFFFFF#000000##000000
##2C7FAD1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FAF
Deuteranopia (green-blind)
#5872AC
Tritanopia (blue-blind)
#008B8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7fad;
/* rgb */ color: rgb(44, 127, 173);
/* oklch */ color: oklch(56.8% 0.105 237.4);
Tailwind
colors: {
  custom: {
    50: '#77a4c5',
    500: '#2c7fad',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fad;
$custom-light: #77a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fad",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 173
  },
  "hsl": {
    "h": 201.395,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5679,
    "c": 0.10546,
    "h": 237.4
  },
  "luminance": 0.18731
}

Semantic roles & 50–950 ramp

primary
#2C7FAD
secondary
#C48E71
accent
#7D45E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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