#2C7DA2#2C7DA2

#2C7DA2 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.7% C 0.096 H 232.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2C7DA2
RGBrgb(44, 125, 162)
HSLhsl(199, 57%, 40%)
HSVhsv(199, 73%, 64%)
CMYKcmyk(72.8%, 22.8%, 0%, 36.5%)
CIE-LABlab(49.26, -11.76, -26.82)
CIE-LCHlch(49.26, 29.29, 246.32°)
OKLaboklab(55.75% -0.0587 -0.0754)
OKLCHoklch(55.75% 0.096 232.1)
XYZxyz(14.8913, 17.8096, 36.8282)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DA2 #A2512C
analogous
#2CA28C #2C7DA2 #2C42A2
triadic
#2C7DA2 #A22C7D #7DA22C
tetradic
#2C7DA2 #8C2CA2 #A2512C #42A22C
square
#2C7DA2 #8C2CA2 #A2512C #42A22C
split-complementary
#2C7DA2 #A22C42 #A28C2C
monochromatic
#123342 #1F5872 #2C7DA2 #40A0CB #70B8D8

Accessibility & contrast

On white

4.60
#2C7DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#2C7DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7DA2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DA2#FFFFFF#000000##FFFFFF
##2C7DA21.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA4
Deuteranopia (green-blind)
#5A70A1
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c7da2;
/* rgb */ color: rgb(44, 125, 162);
/* oklch */ color: oklch(55.7% 0.096 232.1);
Tailwind
colors: {
  custom: {
    50: '#75a2bd',
    500: '#2c7da2',
    950: '#000000',
  },
}
SCSS
$custom: #2c7da2;
$custom-light: #75a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7da2",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 198.814,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.09553,
    "h": 232.1
  },
  "luminance": 0.17811
}

Semantic roles & 50–950 ramp

primary
#2C7DA2
secondary
#BF856A
accent
#7747E1
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2C7DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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