#2C79B2#2C79B2

#2C79B2 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.6% C 0.116 H 244.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2C79B2
RGBrgb(44, 121, 178)
HSLhsl(206, 60%, 44%)
HSVhsv(206, 75%, 70%)
CMYKcmyk(75.3%, 32%, 0%, 30.2%)
CIE-LABlab(48.79, -3.71, -36.87)
CIE-LCHlch(48.79, 37.05, 264.26°)
OKLaboklab(55.62% -0.0494 -0.1045)
OKLCHoklch(55.62% 0.116 244.7)
XYZxyz(15.9089, 17.4227, 44.6353)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79B2 #B2652C
analogous
#2CB2A8 #2C79B2 #2C36B2
triadic
#2C79B2 #B22C79 #79B22C
tetradic
#2C79B2 #A82CB2 #B2652C #36B22C
square
#2C79B2 #A82CB2 #B2652C #36B22C
split-complementary
#2C79B2 #B22C36 #B2A82C
monochromatic
#143650 #205881 #2C79B2 #4998D2 #7AB4DE

Accessibility & contrast

On white

4.68
#2C79B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2C79B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C79B2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79B2#FFFFFF#000000##FFFFFF
##2C79B21.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c79b2;
/* rgb */ color: rgb(44, 121, 178);
/* oklch */ color: oklch(55.6% 0.116 244.7);
Tailwind
colors: {
  custom: {
    50: '#789fc9',
    500: '#2c79b2',
    950: '#000000',
  },
}
SCSS
$custom: #2c79b2;
$custom-light: #789fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79b2",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 205.522,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55617,
    "c": 0.1156,
    "h": 244.7
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#2C79B2
secondary
#C69773
accent
#8844E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C79B2

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

Preview Lab → · Contrast checker → · Palette generator →

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