#2C79B7#2C79B7

#2C79B7 is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.122 H 246.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2C79B7
RGBrgb(44, 121, 183)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 76%, 72%)
CMYKcmyk(76%, 33.9%, 0%, 28.2%)
CIE-LABlab(49.04, -1.88, -39.36)
CIE-LCHlch(49.04, 39.41, 267.27°)
OKLaboklab(55.9% -0.0479 -0.1118)
OKLCHoklch(55.9% 0.122 246.8)
XYZxyz(16.4200, 17.6272, 47.3276)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79B7 #B76A2C
analogous
#2CB7B0 #2C79B7 #2C33B7
triadic
#2C79B7 #B72C79 #79B72C
tetradic
#2C79B7 #B02CB7 #B76A2C #33B72C
square
#2C79B7 #B02CB7 #B76A2C #33B72C
split-complementary
#2C79B7 #B72C33 #B7B02C
monochromatic
#143854 #205886 #2C79B7 #4C97D4 #7EB4E0

Accessibility & contrast

On white

4.64
#2C79B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2C79B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C79B7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79B7#FFFFFF#000000##FFFFFF
##2C79B71.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBA
Deuteranopia (green-blind)
#496FB6
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c79b7;
/* rgb */ color: rgb(44, 121, 183);
/* oklch */ color: oklch(55.9% 0.122 246.8);
Tailwind
colors: {
  custom: {
    50: '#799fcd',
    500: '#2c79b7',
    950: '#000000',
  },
}
SCSS
$custom: #2c79b7;
$custom-light: #799fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79b7",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 183
  },
  "hsl": {
    "h": 206.763,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55898,
    "c": 0.12163,
    "h": 246.8
  },
  "luminance": 0.17629
}

Semantic roles & 50–950 ramp

primary
#2C79B7
secondary
#C89B76
accent
#8B43E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C79B7

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

Preview Lab → · Contrast checker → · Palette generator →

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