#2C7FA2#2C7FA2

#2C7FA2 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.095 H 230.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2C7FA2
RGBrgb(44, 127, 162)
HSLhsl(198, 57%, 40%)
HSVhsv(198, 73%, 64%)
CMYKcmyk(72.8%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.88, -12.90, -25.86)
CIE-LCHlch(49.88, 28.90, 243.49°)
OKLaboklab(56.24% -0.0608 -0.0726)
OKLCHoklch(56.24% 0.095 230.1)
XYZxyz(15.1470, 18.3211, 36.9134)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FA2 #A24F2C
analogous
#2CA28A #2C7FA2 #2C44A2
triadic
#2C7FA2 #A22C7F #7FA22C
tetradic
#2C7FA2 #8A2CA2 #A24F2C #44A22C
square
#2C7FA2 #8A2CA2 #A24F2C #44A22C
split-complementary
#2C7FA2 #A22C44 #A28A2C
monochromatic
#123442 #1F5972 #2C7FA2 #40A2CB #70B9D8

Accessibility & contrast

On white

4.50
#2C7FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2C7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FA2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FA2#FFFFFF#000000##000000
##2C7FA21.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7fa2;
/* rgb */ color: rgb(44, 127, 162);
/* oklch */ color: oklch(56.2% 0.095 230.1);
Tailwind
colors: {
  custom: {
    50: '#75a4bd',
    500: '#2c7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fa2;
$custom-light: #75a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fa2",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 197.797,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56243,
    "c": 0.09467,
    "h": 230.1
  },
  "luminance": 0.18323
}

Semantic roles & 50–950 ramp

primary
#2C7FA2
secondary
#BF846A
accent
#7547E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2C7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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