#2C79B4#2C79B4

#2C79B4 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.118 H 245.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2C79B4
RGBrgb(44, 121, 180)
HSLhsl(206, 61%, 44%)
HSVhsv(206, 76%, 71%)
CMYKcmyk(75.6%, 32.8%, 0%, 29.4%)
CIE-LABlab(48.89, -2.98, -37.87)
CIE-LCHlch(48.89, 37.98, 265.51°)
OKLaboklab(55.73% -0.0488 -0.1074)
OKLCHoklch(55.73% 0.118 245.6)
XYZxyz(16.1111, 17.5036, 45.7006)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79B4 #B4672C
analogous
#2CB4AB #2C79B4 #2C35B4
triadic
#2C79B4 #B42C79 #79B42C
tetradic
#2C79B4 #AB2CB4 #B4672C #35B42C
square
#2C79B4 #AB2CB4 #B4672C #35B42C
split-complementary
#2C79B4 #B42C35 #B4AB2C
monochromatic
#143752 #205883 #2C79B4 #4A98D3 #7CB4DF

Accessibility & contrast

On white

4.67
#2C79B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2C79B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2C79B4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79B4#FFFFFF#000000##FFFFFF
##2C79B41.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB7
Deuteranopia (green-blind)
#4B6EB3
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2c79b4;
/* rgb */ color: rgb(44, 121, 180);
/* oklch */ color: oklch(55.7% 0.118 245.6);
Tailwind
colors: {
  custom: {
    50: '#789fcb',
    500: '#2c79b4',
    950: '#000000',
  },
}
SCSS
$custom: #2c79b4;
$custom-light: #789fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79b4",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 180
  },
  "hsl": {
    "h": 206.029,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.118,
    "h": 245.6
  },
  "luminance": 0.17506
}

Semantic roles & 50–950 ramp

primary
#2C79B4
secondary
#C79875
accent
#8944E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C79B4

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

Preview Lab → · Contrast checker → · Palette generator →

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