#2B79AA#2B79AA

#2B79AA is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.2% C 0.107 H 240.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2B79AA
RGBrgb(43, 121, 170)
HSLhsl(203, 60%, 42%)
HSVhsv(203, 75%, 67%)
CMYKcmyk(74.7%, 28.8%, 0%, 33.3%)
CIE-LABlab(48.37, -6.75, -32.88)
CIE-LCHlch(48.37, 33.56, 258.41°)
OKLaboklab(55.15% -0.0524 -0.0929)
OKLCHoklch(55.15% 0.107 240.6)
XYZxyz(15.0865, 17.0889, 40.5258)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79AA #AA5C2B
analogous
#2BAA9C #2B79AA #2B39AA
triadic
#2B79AA #AA2B79 #79AA2B
tetradic
#2B79AA #9C2BAA #AA5C2B #39AA2B
square
#2B79AA #9C2BAA #AA5C2B #39AA2B
split-complementary
#2B79AA #AA2B39 #AA9C2B
monochromatic
#123348 #1F5679 #2B79AA #4399CF #74B4DC

Accessibility & contrast

On white

4.75
#2B79AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#2B79AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79AA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79AA#FFFFFF#000000##FFFFFF
##2B79AA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627AAC
Deuteranopia (green-blind)
#516DA9
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b79aa;
/* rgb */ color: rgb(43, 121, 170);
/* oklch */ color: oklch(55.2% 0.107 240.6);
Tailwind
colors: {
  custom: {
    50: '#769fc3',
    500: '#2b79aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b79aa;
$custom-light: #769fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79aa",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 170
  },
  "hsl": {
    "h": 203.15,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55152,
    "c": 0.1067,
    "h": 240.6
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

primary
#2B79AA
secondary
#C38F6E
accent
#8245E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B79AA

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

Preview Lab → · Contrast checker → · Palette generator →

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