#2B79A1#2B79A1

#2B79A1 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.097 H 235.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2B79A1
RGBrgb(43, 121, 161)
HSLhsl(200, 58%, 40%)
HSVhsv(200, 73%, 63%)
CMYKcmyk(73.3%, 24.8%, 0%, 36.9%)
CIE-LABlab(47.96, -9.96, -28.28)
CIE-LCHlch(47.96, 29.98, 250.59°)
OKLaboklab(54.68% -0.0555 -0.0796)
OKLCHoklch(54.68% 0.097 235.1)
XYZxyz(14.2641, 16.7599, 36.1945)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79A1 #A1532B
analogous
#2BA18E #2B79A1 #2B3EA1
triadic
#2B79A1 #A12B79 #79A12B
tetradic
#2B79A1 #8E2BA1 #A1532B #3EA12B
square
#2B79A1 #8E2BA1 #A1532B #3EA12B
split-complementary
#2B79A1 #A12B3E #A18E2B
monochromatic
#113040 #1E5571 #2B79A1 #3E9BCB #6EB4D8

Accessibility & contrast

On white

4.82
#2B79A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2B79A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79A1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79A1#FFFFFF#000000##FFFFFF
##2B79A11.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6678A3
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b79a1;
/* rgb */ color: rgb(43, 121, 161);
/* oklch */ color: oklch(54.7% 0.097 235.1);
Tailwind
colors: {
  custom: {
    50: '#749fbd',
    500: '#2b79a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b79a1;
$custom-light: #749fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79a1",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 161
  },
  "hsl": {
    "h": 200.339,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.54685,
    "c": 0.09704,
    "h": 235.1
  },
  "luminance": 0.16762
}

Semantic roles & 50–950 ramp

primary
#2B79A1
secondary
#BF8669
accent
#7B47E1
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2B79A1

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

Preview Lab → · Contrast checker → · Palette generator →

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