#2A7C97#2A7C97

#2A7C97 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 54.9% C 0.087 H 223.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2A7C97
RGBrgb(42, 124, 151)
HSLhsl(195, 56%, 38%)
HSVhsv(195, 72%, 59%)
CMYKcmyk(72.2%, 17.9%, 0%, 40.8%)
CIE-LABlab(48.44, -15.29, -21.68)
CIE-LCHlch(48.44, 26.53, 234.80°)
OKLaboklab(54.92% -0.0629 -0.0606)
OKLCHoklch(54.92% 0.087 223.9)
XYZxyz(13.7461, 17.1403, 31.8561)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7C97 #97452A
analogous
#2A977B #2A7C97 #2A4697
triadic
#2A7C97 #972A7C #7C972A
tetradic
#2A7C97 #7B2A97 #97452A #46972A
square
#2A7C97 #7B2A97 #97452A #46972A
split-complementary
#2A7C97 #972A46 #977B2A
monochromatic
#0F2D37 #1D5567 #2A7C97 #37A3C7 #67B9D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7C97#FFFFFF#000000##FFFFFF
##2A7C971.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)
#6D7998
Deuteranopia (green-blind)
#5E6E97
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7c97;
/* rgb */ color: rgb(42, 124, 151);
/* oklch */ color: oklch(54.9% 0.087 223.9);
Tailwind
colors: {
  custom: {
    50: '#73a2b5',
    500: '#2a7c97',
    950: '#000000',
  },
}
SCSS
$custom: #2a7c97;
$custom-light: #73a2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7c97",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 151
  },
  "hsl": {
    "h": 194.862,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.54919,
    "c": 0.08739,
    "h": 223.9
  },
  "luminance": 0.17142
}

Semantic roles & 50–950 ramp

primary
#2A7C97
secondary
#BB7862
accent
#6E48E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2A7C97

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

Preview Lab → · Contrast checker → · Palette generator →

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