#2C7AA1#2C7AA1

#2C7AA1 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.096 H 234.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2C7AA1
RGBrgb(44, 122, 161)
HSLhsl(200, 57%, 40%)
HSVhsv(200, 73%, 63%)
CMYKcmyk(72.7%, 24.2%, 0%, 36.9%)
CIE-LABlab(48.29, -10.40, -27.75)
CIE-LCHlch(48.29, 29.63, 249.46°)
OKLaboklab(54.96% -0.056 -0.0781)
OKLCHoklch(54.96% 0.096 234.4)
XYZxyz(14.4287, 17.0261, 36.2372)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7AA1 #A1532C
analogous
#2CA18D #2C7AA1 #2C3FA1
triadic
#2C7AA1 #A12C7A #7AA12C
tetradic
#2C7AA1 #8D2CA1 #A1532C #3FA12C
square
#2C7AA1 #8D2CA1 #A1532C #3FA12C
split-complementary
#2C7AA1 #A12C3F #A18D2C
monochromatic
#123141 #1F5671 #2C7AA1 #409CCB #70B5D8

Accessibility & contrast

On white

4.77
#2C7AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#2C7AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7AA1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7AA1#FFFFFF#000000##FFFFFF
##2C7AA11.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A3
Deuteranopia (green-blind)
#576EA0
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c7aa1;
/* rgb */ color: rgb(44, 122, 161);
/* oklch */ color: oklch(55.0% 0.096 234.4);
Tailwind
colors: {
  custom: {
    50: '#75a0bd',
    500: '#2c7aa1',
    950: '#000000',
  },
}
SCSS
$custom: #2c7aa1;
$custom-light: #75a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7aa1",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 161
  },
  "hsl": {
    "h": 200,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54961,
    "c": 0.09607,
    "h": 234.4
  },
  "luminance": 0.17028
}

Semantic roles & 50–950 ramp

primary
#2C7AA1
secondary
#BF866A
accent
#7A47E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2C7AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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