#2C7CAA#2C7CAA

#2C7CAA is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.9% C 0.104 H 238.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2C7CAA
RGBrgb(44, 124, 170)
HSLhsl(202, 59%, 42%)
HSVhsv(202, 74%, 67%)
CMYKcmyk(74.1%, 27.1%, 0%, 33.3%)
CIE-LABlab(49.32, -8.37, -31.40)
CIE-LCHlch(49.32, 32.50, 255.08°)
OKLaboklab(55.91% -0.0549 -0.0886)
OKLCHoklch(55.91% 0.104 238.2)
XYZxyz(15.4992, 17.8513, 40.6512)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C7CAA #AA5A2C
analogous
#2CAA99 #2C7CAA #2C3DAA
triadic
#2C7CAA #AA2C7C #7CAA2C
tetradic
#2C7CAA #992CAA #AA5A2C #3DAA2C
square
#2C7CAA #992CAA #AA5A2C #3DAA2C
split-complementary
#2C7CAA #AA2C3D #AA992C
monochromatic
#133549 #1F5979 #2C7CAA #449CCF #75B6DB

Accessibility & contrast

On white

4.59
#2C7CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2C7CAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C7CAA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C7CAA#FFFFFF#000000##FFFFFF
##2C7CAA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667CAC
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c7caa;
/* rgb */ color: rgb(44, 124, 170);
/* oklch */ color: oklch(55.9% 0.104 238.2);
Tailwind
colors: {
  custom: {
    50: '#76a1c3',
    500: '#2c7caa',
    950: '#000000',
  },
}
SCSS
$custom: #2c7caa;
$custom-light: #76a1c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c7caa",
  "rgb": {
    "r": 44,
    "g": 124,
    "b": 170
  },
  "hsl": {
    "h": 201.905,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55908,
    "c": 0.10421,
    "h": 238.2
  },
  "luminance": 0.17853
}

Semantic roles & 50–950 ramp

primary
#2C7CAA
secondary
#C38E6F
accent
#7F46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2C7CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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