#2A79A9#2A79A9

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

Color values

HEX#2A79A9
RGBrgb(42, 121, 169)
HSLhsl(203, 60%, 41%)
HSVhsv(203, 75%, 66%)
CMYKcmyk(75.1%, 28.4%, 0%, 33.7%)
CIE-LABlab(48.30, -7.24, -32.41)
CIE-LCHlch(48.30, 33.21, 257.41°)
OKLaboklab(55.07% -0.0533 -0.0916)
OKLCHoklch(55.07% 0.106 239.8)
XYZxyz(14.9508, 17.0298, 40.0275)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79A9 #A95A2A
analogous
#2AA99A #2A79A9 #2A3AA9
triadic
#2A79A9 #A92A79 #79A92A
tetradic
#2A79A9 #9A2AA9 #A95A2A #3AA92A
square
#2A79A9 #9A2AA9 #A95A2A #3AA92A
split-complementary
#2A79A9 #A92A3A #A99A2A
monochromatic
#123347 #1E5678 #2A79A9 #419AD0 #72B4DC

Accessibility & contrast

On white

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

On black

4.41
#2A79A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A79A9#FFFFFF#000000##FFFFFF
##2A79A91.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6379AB
Deuteranopia (green-blind)
#516DA8
Tritanopia (blue-blind)
#00858A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a79a9;
/* rgb */ color: rgb(42, 121, 169);
/* oklch */ color: oklch(55.1% 0.106 239.8);
Tailwind
colors: {
  custom: {
    50: '#759fc3',
    500: '#2a79a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a79a9;
$custom-light: #759fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79a9",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 169
  },
  "hsl": {
    "h": 202.677,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5507,
    "c": 0.10597,
    "h": 239.8
  },
  "luminance": 0.17032
}

Semantic roles & 50–950 ramp

primary
#2A79A9
secondary
#C38D6C
accent
#8144E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A79A9

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

Preview Lab → · Contrast checker → · Palette generator →

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