#2A7A97#2A7A97

#2A7A97 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.4% C 0.088 H 226.2°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2A7A97
RGBrgb(42, 122, 151)
HSLhsl(196, 56%, 38%)
HSVhsv(196, 72%, 59%)
CMYKcmyk(72.2%, 19.2%, 0%, 40.8%)
CIE-LABlab(47.81, -14.17, -22.64)
CIE-LCHlch(47.81, 26.71, 237.96°)
OKLaboklab(54.42% -0.0608 -0.0634)
OKLCHoklch(54.42% 0.088 226.2)
XYZxyz(13.4980, 16.6441, 31.7734)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7A97 #97472A
analogous
#2A977D #2A7A97 #2A4497
triadic
#2A7A97 #972A7A #7A972A
tetradic
#2A7A97 #7D2A97 #97472A #44972A
square
#2A7A97 #7D2A97 #97472A #44972A
split-complementary
#2A7A97 #972A44 #977D2A
monochromatic
#0F2D37 #1D5367 #2A7A97 #37A1C7 #67B7D5

Accessibility & contrast

On white

4.85
#2A7A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2A7A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7A97
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7A97#FFFFFF#000000##FFFFFF
##2A7A971.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7898
Deuteranopia (green-blind)
#5B6D97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a7a97;
/* rgb */ color: rgb(42, 122, 151);
/* oklch */ color: oklch(54.4% 0.088 226.2);
Tailwind
colors: {
  custom: {
    50: '#73a0b5',
    500: '#2a7a97',
    950: '#000000',
  },
}
SCSS
$custom: #2a7a97;
$custom-light: #73a0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7a97",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 151
  },
  "hsl": {
    "h": 195.963,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54417,
    "c": 0.08786,
    "h": 226.2
  },
  "luminance": 0.16646
}

Semantic roles & 50–950 ramp

primary
#2A7A97
secondary
#BB7A62
accent
#7048E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7A97

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

Preview Lab → · Contrast checker → · Palette generator →

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