#2C7DAC#2C7DAC

#2C7DAC is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.3% C 0.106 H 238.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2C7DAC
RGBrgb(44, 125, 172)
HSLhsl(202, 59%, 42%)
HSVhsv(202, 74%, 67%)
CMYKcmyk(74.4%, 27.3%, 0%, 32.5%)
CIE-LABlab(49.71, -8.23, -31.94)
CIE-LCHlch(49.71, 32.98, 255.55°)
OKLaboklab(56.25% -0.0552 -0.0902)
OKLCHoklch(56.25% 0.106 238.5)
XYZxyz(15.8158, 18.1794, 41.6972)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7DAC #AC5B2C
analogous
#2CAC9B #2C7DAC #2C3DAC
triadic
#2C7DAC #AC2C7D #7DAC2C
tetradic
#2C7DAC #9B2CAC #AC5B2C #3DAC2C
square
#2C7DAC #9B2CAC #AC5B2C #3DAC2C
split-complementary
#2C7DAC #AC2C3D #AC9B2C
monochromatic
#13364B #205A7B #2C7DAC #469DD0 #76B7DC

Accessibility & contrast

On white

4.53
#2C7DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#2C7DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7DAC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7DAC#FFFFFF#000000##000000
##2C7DAC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAE
Deuteranopia (green-blind)
#5571AB
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2c7dac;
/* rgb */ color: rgb(44, 125, 172);
/* oklch */ color: oklch(56.3% 0.106 238.5);
Tailwind
colors: {
  custom: {
    50: '#77a2c5',
    500: '#2c7dac',
    950: '#000000',
  },
}
SCSS
$custom: #2c7dac;
$custom-light: #77a2c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7dac",
  "rgb": {
    "r": 44,
    "g": 125,
    "b": 172
  },
  "hsl": {
    "h": 202.031,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56254,
    "c": 0.10571,
    "h": 238.5
  },
  "luminance": 0.18181
}

Semantic roles & 50–950 ramp

primary
#2C7DAC
secondary
#C48F70
accent
#7F45E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2C7DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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