#2A7997#2A7997

#2A7997 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.088 H 227.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2A7997
RGBrgb(42, 121, 151)
HSLhsl(197, 56%, 38%)
HSVhsv(197, 72%, 59%)
CMYKcmyk(72.2%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.49, -13.61, -23.13)
CIE-LCHlch(47.49, 26.83, 239.52°)
OKLaboklab(54.17% -0.0598 -0.0648)
OKLCHoklch(54.17% 0.088 227.3)
XYZxyz(13.3759, 16.3998, 31.7327)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7997 #97482A
analogous
#2A977F #2A7997 #2A4297
triadic
#2A7997 #972A79 #79972A
tetradic
#2A7997 #7F2A97 #97482A #42972A
square
#2A7997 #7F2A97 #97482A #42972A
split-complementary
#2A7997 #972A42 #977F2A
monochromatic
#0F2C37 #1D5367 #2A7997 #379FC7 #67B6D5

Accessibility & contrast

On white

4.91
#2A7997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2A7997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7997
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7997#FFFFFF#000000##FFFFFF
##2A79971.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697799
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a7997;
/* rgb */ color: rgb(42, 121, 151);
/* oklch */ color: oklch(54.2% 0.088 227.3);
Tailwind
colors: {
  custom: {
    50: '#729fb5',
    500: '#2a7997',
    950: '#000000',
  },
}
SCSS
$custom: #2a7997;
$custom-light: #729fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7997",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 196.514,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54166,
    "c": 0.08816,
    "h": 227.3
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7997

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

Preview Lab → · Contrast checker → · Palette generator →

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