#2C79AA#2C79AA

#2C79AA is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.2% C 0.106 H 240.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2C79AA
RGBrgb(44, 121, 170)
HSLhsl(203, 59%, 42%)
HSVhsv(203, 74%, 67%)
CMYKcmyk(74.1%, 28.8%, 0%, 33.3%)
CIE-LABlab(48.40, -6.61, -32.83)
CIE-LCHlch(48.40, 33.49, 258.62°)
OKLaboklab(55.18% -0.0519 -0.0928)
OKLCHoklch(55.18% 0.106 240.8)
XYZxyz(15.1289, 17.1108, 40.5278)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79AA #AA5D2C
analogous
#2CAA9C #2C79AA #2C3AAA
triadic
#2C79AA #AA2C79 #79AA2C
tetradic
#2C79AA #9C2CAA #AA5D2C #3AAA2C
square
#2C79AA #9C2CAA #AA5D2C #3AAA2C
split-complementary
#2C79AA #AA2C3A #AA9C2C
monochromatic
#133449 #1F5679 #2C79AA #4499CF #75B4DB

Accessibility & contrast

On white

4.75
#2C79AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2C79AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C79AA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79AA#FFFFFF#000000##FFFFFF
##2C79AA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627AAC
Deuteranopia (green-blind)
#516EA9
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2c79aa;
/* rgb */ color: rgb(44, 121, 170);
/* oklch */ color: oklch(55.2% 0.106 240.8);
Tailwind
colors: {
  custom: {
    50: '#769fc3',
    500: '#2c79aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c79aa;
$custom-light: #769fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79aa",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 170
  },
  "hsl": {
    "h": 203.333,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.10631,
    "h": 240.8
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#2C79AA
secondary
#C3906F
accent
#8346E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2C79AA

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

Preview Lab → · Contrast checker → · Palette generator →

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