#2A7897#2A7897

#2A7897 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.088 H 228.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2A7897
RGBrgb(42, 120, 151)
HSLhsl(197, 56%, 38%)
HSVhsv(197, 72%, 59%)
CMYKcmyk(72.2%, 20.5%, 0%, 40.8%)
CIE-LABlab(47.18, -13.04, -23.61)
CIE-LCHlch(47.18, 26.97, 241.08°)
OKLaboklab(53.92% -0.0587 -0.0662)
OKLCHoklch(53.92% 0.088 228.4)
XYZxyz(13.2550, 16.1580, 31.6924)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7897 #97492A
analogous
#2A977F #2A7897 #2A4197
triadic
#2A7897 #972A78 #78972A
tetradic
#2A7897 #7F2A97 #97492A #41972A
square
#2A7897 #7F2A97 #97492A #41972A
split-complementary
#2A7897 #972A41 #977F2A
monochromatic
#0F2C37 #1D5267 #2A7897 #379EC7 #67B5D5

Accessibility & contrast

On white

4.96
#2A7897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2A7897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7897
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7897#FFFFFF#000000##FFFFFF
##2A78971.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7897;
/* rgb */ color: rgb(42, 120, 151);
/* oklch */ color: oklch(53.9% 0.088 228.4);
Tailwind
colors: {
  custom: {
    50: '#729fb5',
    500: '#2a7897',
    950: '#000000',
  },
}
SCSS
$custom: #2a7897;
$custom-light: #729fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7897",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 197.064,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.53915,
    "c": 0.08848,
    "h": 228.4
  },
  "luminance": 0.1616
}

Semantic roles & 50–950 ramp

primary
#2A7897
secondary
#BB7B62
accent
#7348E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7897

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

Preview Lab → · Contrast checker → · Palette generator →

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