#2A7AA4#2A7AA4

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

Color values

HEX#2A7AA4
RGBrgb(42, 122, 164)
HSLhsl(201, 59%, 40%)
HSVhsv(201, 74%, 64%)
CMYKcmyk(74.4%, 25.6%, 0%, 35.7%)
CIE-LABlab(48.37, -9.62, -29.38)
CIE-LCHlch(48.37, 30.91, 251.88°)
OKLaboklab(55.05% -0.056 -0.0828)
OKLCHoklch(55.05% 0.1 235.9)
XYZxyz(14.6126, 17.0900, 37.6433)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AA4 #A4542A
analogous
#2AA491 #2A7AA4 #2A3DA4
triadic
#2A7AA4 #A42A7A #7AA42A
tetradic
#2A7AA4 #912AA4 #A4542A #3DA42A
square
#2A7AA4 #912AA4 #A4542A #3DA42A
split-complementary
#2A7AA4 #A42A3D #A4912A
monochromatic
#113243 #1E5673 #2A7AA4 #3E9CCD #6EB5DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7AA4#FFFFFF#000000##FFFFFF
##2A7AA41.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)
#6679A6
Deuteranopia (green-blind)
#556EA3
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7aa4;
/* rgb */ color: rgb(42, 122, 164);
/* oklch */ color: oklch(55.1% 0.100 235.9);
Tailwind
colors: {
  custom: {
    50: '#75a0bf',
    500: '#2a7aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2a7aa4;
$custom-light: #75a0bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7aa4",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 164
  },
  "hsl": {
    "h": 200.656,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55054,
    "c": 0.09995,
    "h": 235.9
  },
  "luminance": 0.17092
}

Semantic roles & 50–950 ramp

primary
#2A7AA4
secondary
#C18769
accent
#7B45E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A7AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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