#2C7FA7#2C7FA7

#2C7FA7 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.099 H 233.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2C7FA7
RGBrgb(44, 127, 167)
HSLhsl(200, 58%, 41%)
HSVhsv(200, 74%, 65%)
CMYKcmyk(73.7%, 24%, 0%, 34.5%)
CIE-LABlab(50.10, -11.15, -28.43)
CIE-LCHlch(50.10, 30.54, 248.58°)
OKLaboklab(56.49% -0.0589 -0.08)
OKLCHoklch(56.49% 0.099 233.6)
XYZxyz(15.6003, 18.5024, 39.3009)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FA7 #A7542C
analogous
#2CA792 #2C7FA7 #2C42A7
triadic
#2C7FA7 #A72C7F #7FA72C
tetradic
#2C7FA7 #922CA7 #A7542C #42A72C
square
#2C7FA7 #922CA7 #A7542C #42A72C
split-complementary
#2C7FA7 #A72C42 #A7922C
monochromatic
#123546 #1F5A77 #2C7FA7 #43A0CD #73B9DA

Accessibility & contrast

On white

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

On black

4.70
#2C7FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FA7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FA7#FFFFFF#000000##000000
##2C7FA71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EA9
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2c7fa7;
/* rgb */ color: rgb(44, 127, 167);
/* oklch */ color: oklch(56.5% 0.099 233.6);
Tailwind
colors: {
  custom: {
    50: '#76a4c1',
    500: '#2c7fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fa7;
$custom-light: #76a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fa7",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 199.512,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.09936,
    "h": 233.6
  },
  "luminance": 0.18504
}

Semantic roles & 50–950 ramp

primary
#2C7FA7
secondary
#C2896D
accent
#7946E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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