#2A7AA6#2A7AA6

#2A7AA6 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.102 H 237.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2A7AA6
RGBrgb(42, 122, 166)
HSLhsl(201, 60%, 41%)
HSVhsv(201, 75%, 65%)
CMYKcmyk(74.7%, 26.5%, 0%, 34.9%)
CIE-LABlab(48.46, -8.90, -30.41)
CIE-LCHlch(48.46, 31.68, 253.68°)
OKLaboklab(55.16% -0.0553 -0.0858)
OKLCHoklch(55.16% 0.102 237.2)
XYZxyz(14.7946, 17.1628, 38.6020)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AA6 #A6562A
analogous
#2AA694 #2A7AA6 #2A3CA6
triadic
#2A7AA6 #A62A7A #7AA62A
tetradic
#2A7AA6 #942AA6 #A6562A #3CA62A
square
#2A7AA6 #942AA6 #A6562A #3CA62A
split-complementary
#2A7AA6 #A62A3C #A6942A
monochromatic
#113244 #1E5675 #2A7AA6 #3F9BCE #70B5DB

Accessibility & contrast

On white

4.74
#2A7AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#2A7AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AA6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AA6#FFFFFF#000000##FFFFFF
##2A7AA61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657AA8
Deuteranopia (green-blind)
#546EA5
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7aa6;
/* rgb */ color: rgb(42, 122, 166);
/* oklch */ color: oklch(55.2% 0.102 237.2);
Tailwind
colors: {
  custom: {
    50: '#75a0c0',
    500: '#2a7aa6',
    950: '#000000',
  },
}
SCSS
$custom: #2a7aa6;
$custom-light: #75a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7aa6",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 166
  },
  "hsl": {
    "h": 201.29,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55156,
    "c": 0.10204,
    "h": 237.2
  },
  "luminance": 0.17164
}

Semantic roles & 50–950 ramp

primary
#2A7AA6
secondary
#C2896A
accent
#7D45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A7AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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