#2B79A7#2B79A7

#2B79A7 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.103 H 238.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2B79A7
RGBrgb(43, 121, 167)
HSLhsl(202, 59%, 41%)
HSVhsv(202, 74%, 65%)
CMYKcmyk(74.3%, 27.5%, 0%, 34.5%)
CIE-LABlab(48.23, -7.83, -31.35)
CIE-LCHlch(48.23, 32.31, 255.99°)
OKLaboklab(54.99% -0.0534 -0.0885)
OKLCHoklch(54.99% 0.103 238.9)
XYZxyz(14.8059, 16.9767, 39.0482)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79A7 #A7592B
analogous
#2BA797 #2B79A7 #2B3BA7
triadic
#2B79A7 #A72B79 #79A72B
tetradic
#2B79A7 #972BA7 #A7592B #3BA72B
square
#2B79A7 #972BA7 #A7592B #3BA72B
split-complementary
#2B79A7 #A72B3B #A7972B
monochromatic
#123246 #1E5676 #2B79A7 #419ACE #72B4DB

Accessibility & contrast

On white

4.78
#2B79A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2B79A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79A7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79A7#FFFFFF#000000##FFFFFF
##2B79A71.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6379A9
Deuteranopia (green-blind)
#526DA6
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b79a7;
/* rgb */ color: rgb(43, 121, 167);
/* oklch */ color: oklch(55.0% 0.103 238.9);
Tailwind
colors: {
  custom: {
    50: '#759fc1',
    500: '#2b79a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b79a7;
$custom-light: #759fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79a7",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 167
  },
  "hsl": {
    "h": 202.258,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54993,
    "c": 0.10338,
    "h": 238.9
  },
  "luminance": 0.16978
}

Semantic roles & 50–950 ramp

primary
#2B79A7
secondary
#C28C6C
accent
#8046E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B79A7

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

Preview Lab → · Contrast checker → · Palette generator →

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