#2A79A7#2A79A7

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

Color values

HEX#2A79A7
RGBrgb(42, 121, 167)
HSLhsl(202, 60%, 41%)
HSVhsv(202, 75%, 65%)
CMYKcmyk(74.9%, 27.5%, 0%, 34.5%)
CIE-LABlab(48.20, -7.96, -31.40)
CIE-LCHlch(48.20, 32.39, 255.77°)
OKLaboklab(54.96% -0.054 -0.0886)
OKLCHoklch(54.96% 0.104 238.7)
XYZxyz(14.7645, 16.9553, 39.0463)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A79A7 #A7582A
analogous
#2AA796 #2A79A7 #2A3AA7
triadic
#2A79A7 #A72A79 #79A72A
tetradic
#2A79A7 #962AA7 #A7582A #3AA72A
square
#2A79A7 #962AA7 #A7582A #3AA72A
split-complementary
#2A79A7 #A72A3A #A7962A
monochromatic
#113245 #1E5676 #2A79A7 #3F9ACF #70B4DB

Accessibility & contrast

On white

4.78
#2A79A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2A79A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A79A7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A79A7#FFFFFF#000000##FFFFFF
##2A79A71.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6379A9
Deuteranopia (green-blind)
#526DA6
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a79a7;
/* rgb */ color: rgb(42, 121, 167);
/* oklch */ color: oklch(55.0% 0.104 238.7);
Tailwind
colors: {
  custom: {
    50: '#759fc1',
    500: '#2a79a7',
    950: '#000000',
  },
}
SCSS
$custom: #2a79a7;
$custom-light: #759fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a79a7",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 167
  },
  "hsl": {
    "h": 202.08,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54964,
    "c": 0.10377,
    "h": 238.7
  },
  "luminance": 0.16957
}

Semantic roles & 50–950 ramp

primary
#2A79A7
secondary
#C28B6B
accent
#7F45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A79A7

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

Preview Lab → · Contrast checker → · Palette generator →

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