#2B79A8#2B79A8

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

Color values

HEX#2B79A8
RGBrgb(43, 121, 168)
HSLhsl(203, 59%, 41%)
HSVhsv(203, 74%, 66%)
CMYKcmyk(74.4%, 28%, 0%, 34.1%)
CIE-LABlab(48.28, -7.47, -31.86)
CIE-LCHlch(48.28, 32.72, 256.81°)
OKLaboklab(55.05% -0.0531 -0.09)
OKLCHoklch(55.05% 0.104 239.5)
XYZxyz(14.8987, 17.0138, 39.5370)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79A8 #A85A2B
analogous
#2BA899 #2B79A8 #2B3BA8
triadic
#2B79A8 #A82B79 #79A82B
tetradic
#2B79A8 #992BA8 #A85A2B #3BA82B
square
#2B79A8 #992BA8 #A85A2B #3BA82B
split-complementary
#2B79A8 #A82B3B #A8992B
monochromatic
#123347 #1F5677 #2B79A8 #429ACF #72B4DB

Accessibility & contrast

On white

4.77
#2B79A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B79A8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79A8#FFFFFF#000000##FFFFFF
##2B79A81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6379AA
Deuteranopia (green-blind)
#526DA7
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b79a8;
/* rgb */ color: rgb(43, 121, 168);
/* oklch */ color: oklch(55.0% 0.104 239.5);
Tailwind
colors: {
  custom: {
    50: '#769fc2',
    500: '#2b79a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b79a8;
$custom-light: #769fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79a8",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 168
  },
  "hsl": {
    "h": 202.56,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.10447,
    "h": 239.5
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#2B79A8
secondary
#C28D6C
accent
#8045E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B79A8

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

Preview Lab → · Contrast checker → · Palette generator →

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