#2A7D97#2A7D97

#2A7D97 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.2% C 0.087 H 222.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A7D97
RGBrgb(42, 125, 151)
HSLhsl(194, 56%, 38%)
HSVhsv(194, 72%, 59%)
CMYKcmyk(72.2%, 17.2%, 0%, 40.8%)
CIE-LABlab(48.75, -15.85, -21.19)
CIE-LCHlch(48.75, 26.46, 233.21°)
OKLaboklab(55.17% -0.064 -0.0592)
OKLCHoklch(55.17% 0.087 222.8)
XYZxyz(13.8721, 17.3923, 31.8981)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7D97 #97442A
analogous
#2A977A #2A7D97 #2A4697
triadic
#2A7D97 #972A7D #7D972A
tetradic
#2A7D97 #7A2A97 #97442A #46972A
square
#2A7D97 #7A2A97 #97442A #46972A
split-complementary
#2A7D97 #972A46 #977A2A
monochromatic
#0F2E37 #1D5567 #2A7D97 #37A5C7 #67BAD5

Accessibility & contrast

On white

4.69
#2A7D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2A7D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7D97
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7D97#FFFFFF#000000##FFFFFF
##2A7D971.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7A98
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#008585
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7d97;
/* rgb */ color: rgb(42, 125, 151);
/* oklch */ color: oklch(55.2% 0.087 222.8);
Tailwind
colors: {
  custom: {
    50: '#73a2b5',
    500: '#2a7d97',
    950: '#000000',
  },
}
SCSS
$custom: #2a7d97;
$custom-light: #73a2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7d97",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 151
  },
  "hsl": {
    "h": 194.312,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55171,
    "c": 0.08719,
    "h": 222.8
  },
  "luminance": 0.17394
}

Semantic roles & 50–950 ramp

primary
#2A7D97
secondary
#BB7762
accent
#6C48E0
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2A7D97

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

Preview Lab → · Contrast checker → · Palette generator →

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