#2C7BA6#2C7BA6

#2C7BA6 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.5% C 0.101 H 236.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C7BA6
RGBrgb(44, 123, 166)
HSLhsl(201, 58%, 41%)
HSVhsv(201, 73%, 65%)
CMYKcmyk(73.5%, 25.9%, 0%, 34.9%)
CIE-LABlab(48.83, -9.21, -29.84)
CIE-LCHlch(48.83, 31.23, 252.85°)
OKLaboklab(55.46% -0.0552 -0.0841)
OKLCHoklch(55.46% 0.101 236.7)
XYZxyz(15.0019, 17.4528, 38.6471)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7BA6 #A6572C
analogous
#2CA694 #2C7BA6 #2C3EA6
triadic
#2C7BA6 #A62C7B #7BA62C
tetradic
#2C7BA6 #942CA6 #A6572C #3EA62C
square
#2C7BA6 #942CA6 #A6572C #3EA62C
split-complementary
#2C7BA6 #A62C3E #A6942C
monochromatic
#123345 #1F5776 #2C7BA6 #429CCD #73B5DA

Accessibility & contrast

On white

4.68
#2C7BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2C7BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7BA6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7BA6#FFFFFF#000000##FFFFFF
##2C7BA61.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667BA8
Deuteranopia (green-blind)
#566FA5
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c7ba6;
/* rgb */ color: rgb(44, 123, 166);
/* oklch */ color: oklch(55.5% 0.101 236.7);
Tailwind
colors: {
  custom: {
    50: '#76a1c0',
    500: '#2c7ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2c7ba6;
$custom-light: #76a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7ba6",
  "rgb": {
    "r": 44,
    "g": 123,
    "b": 166
  },
  "hsl": {
    "h": 201.148,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.10061,
    "h": 236.7
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

primary
#2C7BA6
secondary
#C18A6D
accent
#7D46E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C7BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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