#2C7FA4#2C7FA4

#2C7FA4 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.096 H 231.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C7FA4
RGBrgb(44, 127, 164)
HSLhsl(199, 58%, 41%)
HSVhsv(199, 73%, 64%)
CMYKcmyk(73.2%, 22.6%, 0%, 35.7%)
CIE-LABlab(49.97, -12.20, -26.89)
CIE-LCHlch(49.97, 29.53, 245.59°)
OKLaboklab(56.34% -0.06 -0.0756)
OKLCHoklch(56.34% 0.096 231.5)
XYZxyz(15.3262, 18.3928, 37.8572)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FA4 #A4512C
analogous
#2CA48D #2C7FA4 #2C43A4
triadic
#2C7FA4 #A42C7F #7FA42C
tetradic
#2C7FA4 #8D2CA4 #A4512C #43A42C
square
#2C7FA4 #8D2CA4 #A4512C #43A42C
split-complementary
#2C7FA4 #A42C43 #A48D2C
monochromatic
#123443 #1F5A74 #2C7FA4 #41A1CC #71B9D9

Accessibility & contrast

On white

4.49
#2C7FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2C7FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FA4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FA4#FFFFFF#000000##000000
##2C7FA41.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA6
Deuteranopia (green-blind)
#5C72A3
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7fa4;
/* rgb */ color: rgb(44, 127, 164);
/* oklch */ color: oklch(56.3% 0.096 231.5);
Tailwind
colors: {
  custom: {
    50: '#76a4bf',
    500: '#2c7fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fa4;
$custom-light: #76a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fa4",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 198.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.09649,
    "h": 231.5
  },
  "luminance": 0.18395
}

Semantic roles & 50–950 ramp

primary
#2C7FA4
secondary
#C0866B
accent
#7647E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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