#2A79A6#2A79A6

#2A79A6 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.103 H 238.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2A79A6
RGBrgb(42, 121, 166)
HSLhsl(202, 60%, 41%)
HSVhsv(202, 75%, 65%)
CMYKcmyk(74.7%, 27.1%, 0%, 34.9%)
CIE-LABlab(48.16, -8.32, -30.89)
CIE-LCHlch(48.16, 31.99, 254.92°)
OKLaboklab(54.91% -0.0543 -0.0872)
OKLCHoklch(54.91% 0.103 238.1)
XYZxyz(14.6724, 16.9185, 38.5613)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79A6 #A6572A
analogous
#2AA695 #2A79A6 #2A3BA6
triadic
#2A79A6 #A62A79 #79A62A
tetradic
#2A79A6 #952AA6 #A6572A #3BA62A
square
#2A79A6 #952AA6 #A6572A #3BA62A
split-complementary
#2A79A6 #A62A3B #A6952A
monochromatic
#113244 #1E5575 #2A79A6 #3F9ACE #70B4DB

Accessibility & contrast

On white

4.79
#2A79A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2A79A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79A6
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79A6#FFFFFF#000000##FFFFFF
##2A79A61.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6479A8
Deuteranopia (green-blind)
#536DA5
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a79a6;
/* rgb */ color: rgb(42, 121, 166);
/* oklch */ color: oklch(54.9% 0.103 238.1);
Tailwind
colors: {
  custom: {
    50: '#759fc0',
    500: '#2a79a6',
    950: '#000000',
  },
}
SCSS
$custom: #2a79a6;
$custom-light: #759fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79a6",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 166
  },
  "hsl": {
    "h": 201.774,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54912,
    "c": 0.10269,
    "h": 238.1
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#2A79A6
secondary
#C28A6A
accent
#7E45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A79A6

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

Preview Lab → · Contrast checker → · Palette generator →

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