#2C79A2#2C79A2

#2C79A2 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.098 H 236.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2C79A2
RGBrgb(44, 121, 162)
HSLhsl(201, 57%, 40%)
HSVhsv(201, 73%, 64%)
CMYKcmyk(72.8%, 25.3%, 0%, 36.5%)
CIE-LABlab(48.03, -9.47, -28.75)
CIE-LCHlch(48.03, 30.26, 251.77°)
OKLaboklab(54.77% -0.0546 -0.0809)
OKLCHoklch(54.77% 0.098 236)
XYZxyz(14.3951, 16.8172, 36.6628)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C79A2 #A2552C
analogous
#2CA290 #2C79A2 #2C3EA2
triadic
#2C79A2 #A22C79 #79A22C
tetradic
#2C79A2 #902CA2 #A2552C #3EA22C
square
#2C79A2 #902CA2 #A2552C #3EA22C
split-complementary
#2C79A2 #A22C3E #A2902C
monochromatic
#123142 #1F5572 #2C79A2 #409BCB #70B4D8

Accessibility & contrast

On white

4.81
#2C79A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#2C79A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C79A2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C79A2#FFFFFF#000000##FFFFFF
##2C79A21.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2c79a2;
/* rgb */ color: rgb(44, 121, 162);
/* oklch */ color: oklch(54.8% 0.098 236.0);
Tailwind
colors: {
  custom: {
    50: '#759fbd',
    500: '#2c79a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c79a2;
$custom-light: #759fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c79a2",
  "rgb": {
    "r": 44,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 200.847,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.09765,
    "h": 236
  },
  "luminance": 0.16819
}

Semantic roles & 50–950 ramp

primary
#2C79A2
secondary
#BF886A
accent
#7D47E1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2C79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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