#2C7AA5#2C7AA5

#2C7AA5 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.100 H 237.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2C7AA5
RGBrgb(44, 122, 165)
HSLhsl(201, 58%, 41%)
HSVhsv(201, 73%, 65%)
CMYKcmyk(73.3%, 26.1%, 0%, 35.3%)
CIE-LABlab(48.47, -8.98, -29.81)
CIE-LCHlch(48.47, 31.13, 253.23°)
OKLaboklab(55.16% -0.0546 -0.084)
OKLCHoklch(55.16% 0.1 237)
XYZxyz(14.7871, 17.1695, 38.1247)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7AA5 #A5572C
analogous
#2CA593 #2C7AA5 #2C3DA5
triadic
#2C7AA5 #A52C7A #7AA52C
tetradic
#2C7AA5 #932CA5 #A5572C #3DA52C
square
#2C7AA5 #932CA5 #A5572C #3DA52C
split-complementary
#2C7AA5 #A52C3D #A5932C
monochromatic
#123344 #1F5675 #2C7AA5 #429BCD #72B5D9

Accessibility & contrast

On white

4.74
#2C7AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2C7AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7AA5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7AA5#FFFFFF#000000##FFFFFF
##2C7AA51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667AA7
Deuteranopia (green-blind)
#556EA4
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c7aa5;
/* rgb */ color: rgb(44, 122, 165);
/* oklch */ color: oklch(55.2% 0.100 237.0);
Tailwind
colors: {
  custom: {
    50: '#75a0c0',
    500: '#2c7aa5',
    950: '#000000',
  },
}
SCSS
$custom: #2c7aa5;
$custom-light: #75a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7aa5",
  "rgb": {
    "r": 44,
    "g": 122,
    "b": 165
  },
  "hsl": {
    "h": 201.322,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55163,
    "c": 0.10017,
    "h": 237
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#2C7AA5
secondary
#C18A6C
accent
#7E47E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C7AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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