#2A79AB#2A79AB

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

Color values

HEX#2A79AB
RGBrgb(42, 121, 171)
HSLhsl(203, 61%, 42%)
HSVhsv(203, 75%, 67%)
CMYKcmyk(75.4%, 29.2%, 0%, 32.9%)
CIE-LABlab(48.39, -6.52, -33.43)
CIE-LCHlch(48.39, 34.06, 258.97°)
OKLaboklab(55.18% -0.0526 -0.0945)
OKLCHoklch(55.18% 0.108 240.9)
XYZxyz(15.1400, 17.1055, 41.0239)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79AB #AB5C2A
analogous
#2AAB9D #2A79AB #2A39AB
triadic
#2A79AB #AB2A79 #79AB2A
tetradic
#2A79AB #9D2AAB #AB5C2A #39AB2A
square
#2A79AB #9D2AAB #AB5C2A #39AB2A
split-complementary
#2A79AB #AB2A39 #AB9D2A
monochromatic
#123349 #1E567A #2A79AB #4299D1 #73B4DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A79AB#FFFFFF#000000##FFFFFF
##2A79AB1.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)
#627AAD
Deuteranopia (green-blind)
#506DAA
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a79ab;
/* rgb */ color: rgb(42, 121, 171);
/* oklch */ color: oklch(55.2% 0.108 240.9);
Tailwind
colors: {
  custom: {
    50: '#769fc4',
    500: '#2a79ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a79ab;
$custom-light: #769fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79ab",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 171
  },
  "hsl": {
    "h": 203.256,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55176,
    "c": 0.1082,
    "h": 240.9
  },
  "luminance": 0.17107
}

Semantic roles & 50–950 ramp

primary
#2A79AB
secondary
#C48F6D
accent
#8244E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A79AB

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

Preview Lab → · Contrast checker → · Palette generator →

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