#2C7FAC#2C7FAC

#2C7FAC is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.104 H 236.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2C7FAC
RGBrgb(44, 127, 172)
HSLhsl(201, 59%, 42%)
HSVhsv(201, 74%, 67%)
CMYKcmyk(74.4%, 26.2%, 0%, 32.5%)
CIE-LABlab(50.32, -9.39, -30.99)
CIE-LCHlch(50.32, 32.38, 253.14°)
OKLaboklab(56.74% -0.0572 -0.0874)
OKLCHoklch(56.74% 0.104 236.8)
XYZxyz(16.0715, 18.6909, 41.7824)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7FAC #AC592C
analogous
#2CAC99 #2C7FAC #2C3FAC
triadic
#2C7FAC #AC2C7F #7FAC2C
tetradic
#2C7FAC #992CAC #AC592C #3FAC2C
square
#2C7FAC #992CAC #AC592C #3FAC2C
split-complementary
#2C7FAC #AC2C3F #AC992C
monochromatic
#13374B #205B7B #2C7FAC #469FD0 #76B8DC

Accessibility & contrast

On white

4.43
#2C7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2C7FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2C7FAC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7FAC#FFFFFF#000000##000000
##2C7FAC1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#5872AB
Tritanopia (blue-blind)
#008B8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2c7fac;
/* rgb */ color: rgb(44, 127, 172);
/* oklch */ color: oklch(56.7% 0.104 236.8);
Tailwind
colors: {
  custom: {
    50: '#77a4c5',
    500: '#2c7fac',
    950: '#000000',
  },
}
SCSS
$custom: #2c7fac;
$custom-light: #77a4c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7fac",
  "rgb": {
    "r": 44,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 201.094,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.56739,
    "c": 0.10441,
    "h": 236.8
  },
  "luminance": 0.18693
}

Semantic roles & 50–950 ramp

primary
#2C7FAC
secondary
#C48D70
accent
#7D45E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2C7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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