#2C7DA1#2C7DA1

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

Color values

HEX#2C7DA1
RGBrgb(44, 125, 161)
HSLhsl(198, 57%, 40%)
HSVhsv(198, 73%, 63%)
CMYKcmyk(72.7%, 22.4%, 0%, 36.9%)
CIE-LABlab(49.22, -12.11, -26.31)
CIE-LCHlch(49.22, 28.96, 245.28°)
OKLaboklab(55.7% -0.0591 -0.0739)
OKLCHoklch(55.7% 0.095 231.4)
XYZxyz(14.8028, 17.7742, 36.3619)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DA1 #A1502C
analogous
#2CA18B #2C7DA1 #2C42A1
triadic
#2C7DA1 #A12C7D #7DA12C
tetradic
#2C7DA1 #8B2CA1 #A1502C #42A12C
square
#2C7DA1 #8B2CA1 #A1502C #42A12C
split-complementary
#2C7DA1 #A12C42 #A18B2C
monochromatic
#123241 #1F5871 #2C7DA1 #40A0CB #70B8D8

Accessibility & contrast

On white

4.61
#2C7DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C7DA1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DA1#FFFFFF#000000##FFFFFF
##2C7DA11.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c7da1;
/* rgb */ color: rgb(44, 125, 161);
/* oklch */ color: oklch(55.7% 0.095 231.4);
Tailwind
colors: {
  custom: {
    50: '#75a2bd',
    500: '#2c7da1',
    950: '#000000',
  },
}
SCSS
$custom: #2c7da1;
$custom-light: #75a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7da1",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 161
  },
  "hsl": {
    "h": 198.462,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.0946,
    "h": 231.4
  },
  "luminance": 0.17776
}

Semantic roles & 50–950 ramp

primary
#2C7DA1
secondary
#BF846A
accent
#7747E0
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2C7DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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