#2A7AA9#2A7AA9

#2A7AA9 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.3% C 0.105 H 239.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2A7AA9
RGBrgb(42, 122, 169)
HSLhsl(202, 60%, 41%)
HSVhsv(202, 75%, 66%)
CMYKcmyk(75.1%, 27.8%, 0%, 33.7%)
CIE-LABlab(48.60, -7.82, -31.94)
CIE-LCHlch(48.60, 32.88, 256.23°)
OKLaboklab(55.31% -0.0543 -0.0902)
OKLCHoklch(55.31% 0.105 239)
XYZxyz(15.0730, 17.2741, 40.0683)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AA9 #A9592A
analogous
#2AA999 #2A7AA9 #2A3AA9
triadic
#2A7AA9 #A92A7A #7AA92A
tetradic
#2A7AA9 #992AA9 #A9592A #3AA92A
square
#2A7AA9 #992AA9 #A9592A #3AA92A
split-complementary
#2A7AA9 #A92A3A #A9992A
monochromatic
#123347 #1E5778 #2A7AA9 #419BD0 #72B5DC

Accessibility & contrast

On white

4.71
#2A7AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2A7AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AA9
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AA9#FFFFFF#000000##FFFFFF
##2A7AA91.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647AAB
Deuteranopia (green-blind)
#536EA8
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7aa9;
/* rgb */ color: rgb(42, 122, 169);
/* oklch */ color: oklch(55.3% 0.105 239.0);
Tailwind
colors: {
  custom: {
    50: '#75a0c2',
    500: '#2a7aa9',
    950: '#000000',
  },
}
SCSS
$custom: #2a7aa9;
$custom-light: #75a0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7aa9",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 169
  },
  "hsl": {
    "h": 202.205,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.10526,
    "h": 239
  },
  "luminance": 0.17276
}

Semantic roles & 50–950 ramp

primary
#2A7AA9
secondary
#C38C6C
accent
#7F44E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A7AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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