#2B79AC#2B79AC

#2B79AC is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.3% C 0.109 H 241.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2B79AC
RGBrgb(43, 121, 172)
HSLhsl(204, 60%, 42%)
HSVhsv(204, 75%, 67%)
CMYKcmyk(75%, 29.7%, 0%, 32.5%)
CIE-LABlab(48.47, -6.02, -33.89)
CIE-LCHlch(48.47, 34.42, 259.93°)
OKLaboklab(55.26% -0.0518 -0.0959)
OKLCHoklch(55.26% 0.109 241.6)
XYZxyz(15.2771, 17.1651, 41.5298)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79AC #AC5E2B
analogous
#2BAC9F #2B79AC #2B39AC
triadic
#2B79AC #AC2B79 #79AC2B
tetradic
#2B79AC #9F2BAC #AC5E2B #39AC2B
square
#2B79AC #9F2BAC #AC5E2B #39AC2B
split-complementary
#2B79AC #AC2B39 #AC9F2B
monochromatic
#13344A #1F577B #2B79AC #4499D0 #75B4DC

Accessibility & contrast

On white

4.74
#2B79AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2B79AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79AC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79AC#FFFFFF#000000##FFFFFF
##2B79AC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617AAE
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b79ac;
/* rgb */ color: rgb(43, 121, 172);
/* oklch */ color: oklch(55.3% 0.109 241.6);
Tailwind
colors: {
  custom: {
    50: '#769fc5',
    500: '#2b79ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b79ac;
$custom-light: #769fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79ac",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 172
  },
  "hsl": {
    "h": 203.721,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55259,
    "c": 0.10896,
    "h": 241.6
  },
  "luminance": 0.17167
}

Semantic roles & 50–950 ramp

primary
#2B79AC
secondary
#C4906F
accent
#8345E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2B79AC

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

Preview Lab → · Contrast checker → · Palette generator →

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