#2C7FA6#2C7FA6

#2C7FA6 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.4% C 0.098 H 232.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2C7FA6
RGBrgb(44, 127, 166)
HSLhsl(199, 58%, 41%)
HSVhsv(199, 73%, 65%)
CMYKcmyk(73.5%, 23.5%, 0%, 34.9%)
CIE-LABlab(50.06, -11.50, -27.92)
CIE-LCHlch(50.06, 30.20, 247.61°)
OKLaboklab(56.44% -0.0593 -0.0785)
OKLCHoklch(56.44% 0.098 232.9)
XYZxyz(15.5083, 18.4656, 38.8159)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FA6 #A6532C
analogous
#2CA690 #2C7FA6 #2C42A6
triadic
#2C7FA6 #A62C7F #7FA62C
tetradic
#2C7FA6 #902CA6 #A6532C #42A62C
square
#2C7FA6 #902CA6 #A6532C #42A62C
split-complementary
#2C7FA6 #A62C42 #A6902C
monochromatic
#123545 #1F5A76 #2C7FA6 #42A1CD #73B9DA

Accessibility & contrast

On white

4.47
#2C7FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2C7FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FA6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FA6#FFFFFF#000000##000000
##2C7FA61.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA8
Deuteranopia (green-blind)
#5B72A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7fa6;
/* rgb */ color: rgb(44, 127, 166);
/* oklch */ color: oklch(56.4% 0.098 232.9);
Tailwind
colors: {
  custom: {
    50: '#76a4c0',
    500: '#2c7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fa6;
$custom-light: #76a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fa6",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 199.18,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56438,
    "c": 0.09838,
    "h": 232.9
  },
  "luminance": 0.18467
}

Semantic roles & 50–950 ramp

primary
#2C7FA6
secondary
#C1886D
accent
#7846E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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