#2C79B8#2C79B8

#2C79B8 is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.0% C 0.123 H 247.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2C79B8
RGBrgb(44, 121, 184)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 76%, 72%)
CMYKcmyk(76.1%, 34.2%, 0%, 27.8%)
CIE-LABlab(49.09, -1.51, -39.86)
CIE-LCHlch(49.09, 39.89, 267.83°)
OKLaboklab(55.96% -0.0476 -0.1133)
OKLCHoklch(55.96% 0.123 247.2)
XYZxyz(16.5245, 17.6690, 47.8777)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79B8 #B86B2C
analogous
#2CB8B1 #2C79B8 #2C33B8
triadic
#2C79B8 #B82C79 #79B82C
tetradic
#2C79B8 #B12CB8 #B86B2C #33B82C
square
#2C79B8 #B12CB8 #B86B2C #33B82C
split-complementary
#2C79B8 #B82C33 #B8B12C
monochromatic
#143855 #205987 #2C79B8 #4D97D4 #7EB4E0

Accessibility & contrast

On white

4.63
#2C79B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C79B8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79B8#FFFFFF#000000##FFFFFF
##2C79B81.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBB
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2c79b8;
/* rgb */ color: rgb(44, 121, 184);
/* oklch */ color: oklch(56.0% 0.123 247.2);
Tailwind
colors: {
  custom: {
    50: '#799fcd',
    500: '#2c79b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c79b8;
$custom-light: #799fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79b8",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 184
  },
  "hsl": {
    "h": 207,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.12285,
    "h": 247.2
  },
  "luminance": 0.17671
}

Semantic roles & 50–950 ramp

primary
#2C79B8
secondary
#C99C77
accent
#8C43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2C79B8

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

Preview Lab → · Contrast checker → · Palette generator →

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