#2C7FA5#2C7FA5

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

Color values

HEX#2C7FA5
RGBrgb(44, 127, 165)
HSLhsl(199, 58%, 41%)
HSVhsv(199, 73%, 65%)
CMYKcmyk(73.3%, 23%, 0%, 35.3%)
CIE-LABlab(50.01, -11.85, -27.41)
CIE-LCHlch(50.01, 29.86, 246.61°)
OKLaboklab(56.39% -0.0596 -0.077)
OKLCHoklch(56.39% 0.097 232.3)
XYZxyz(15.4169, 18.4291, 38.3347)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FA5 #A5522C
analogous
#2CA58E #2C7FA5 #2C42A5
triadic
#2C7FA5 #A52C7F #7FA52C
tetradic
#2C7FA5 #8E2CA5 #A5522C #42A52C
square
#2C7FA5 #8E2CA5 #A5522C #42A52C
split-complementary
#2C7FA5 #A52C42 #A58E2C
monochromatic
#123544 #1F5A75 #2C7FA5 #42A1CD #72B9D9

Accessibility & contrast

On white

4.48
#2C7FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C7FA5#FFFFFF#000000##000000
##2C7FA51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7fa5;
/* rgb */ color: rgb(44, 127, 165);
/* oklch */ color: oklch(56.4% 0.097 232.3);
Tailwind
colors: {
  custom: {
    50: '#76a4c0',
    500: '#2c7fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fa5;
$custom-light: #76a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fa5",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 198.843,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56389,
    "c": 0.09743,
    "h": 232.3
  },
  "luminance": 0.18431
}

Semantic roles & 50–950 ramp

primary
#2C7FA5
secondary
#C1876C
accent
#7747E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2C7FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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