#2A7F97#2A7F97

#2A7F97 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.7% C 0.087 H 220.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2A7F97
RGBrgb(42, 127, 151)
HSLhsl(193, 56%, 38%)
HSVhsv(193, 72%, 59%)
CMYKcmyk(72.2%, 15.9%, 0%, 40.8%)
CIE-LABlab(49.38, -16.95, -20.23)
CIE-LCHlch(49.38, 26.39, 230.04°)
OKLaboklab(55.68% -0.0661 -0.0565)
OKLCHoklch(55.68% 0.087 220.5)
XYZxyz(14.1278, 17.9037, 31.9833)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F97 #97422A
analogous
#2A9778 #2A7F97 #2A4897
triadic
#2A7F97 #972A7F #7F972A
tetradic
#2A7F97 #782A97 #97422A #48972A
square
#2A7F97 #782A97 #97422A #48972A
split-complementary
#2A7F97 #972A48 #97782A
monochromatic
#0F2E37 #1D5767 #2A7F97 #37A7C7 #67BCD5

Accessibility & contrast

On white

4.58
#2A7F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2A7F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7F97
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F97#FFFFFF#000000##000000
##2A7F971.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#707C98
Deuteranopia (green-blind)
#617197
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7f97;
/* rgb */ color: rgb(42, 127, 151);
/* oklch */ color: oklch(55.7% 0.087 220.5);
Tailwind
colors: {
  custom: {
    50: '#73a4b5',
    500: '#2a7f97',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f97;
$custom-light: #73a4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f97",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 193.211,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55675,
    "c": 0.08693,
    "h": 220.5
  },
  "luminance": 0.17905
}

Semantic roles & 50–950 ramp

primary
#2A7F97
secondary
#BB7562
accent
#6948E0
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2A7F97

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

Preview Lab → · Contrast checker → · Palette generator →

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