#2D7F97#2D7F97

#2D7F97 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.8% C 0.085 H 221.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2D7F97
RGBrgb(45, 127, 151)
HSLhsl(194, 54%, 38%)
HSVhsv(194, 70%, 59%)
CMYKcmyk(70.2%, 15.9%, 0%, 40.8%)
CIE-LABlab(49.46, -16.50, -20.10)
CIE-LCHlch(49.46, 26.00, 230.62°)
OKLaboklab(55.76% -0.0645 -0.0561)
OKLCHoklch(55.76% 0.085 221)
XYZxyz(14.2552, 17.9694, 31.9893)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7F97 #97452D
analogous
#2D977A #2D7F97 #2D4A97
triadic
#2D7F97 #972D7F #7F972D
tetradic
#2D7F97 #7A2D97 #97452D #4A972D
square
#2D7F97 #7A2D97 #97452D #4A972D
split-complementary
#2D7F97 #972D4A #977A2D
monochromatic
#113039 #1F5768 #2D7F97 #3CA6C5 #6BBCD3

Accessibility & contrast

On white

4.57
#2D7F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2D7F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7F97
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7F97#FFFFFF#000000##000000
##2D7F971.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#717C98
Deuteranopia (green-blind)
#627197
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7f97;
/* rgb */ color: rgb(45, 127, 151);
/* oklch */ color: oklch(55.8% 0.085 221.0);
Tailwind
colors: {
  custom: {
    50: '#74a4b5',
    500: '#2d7f97',
    950: '#000000',
  },
}
SCSS
$custom: #2d7f97;
$custom-light: #74a4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7f97",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 193.585,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.55762,
    "c": 0.08549,
    "h": 221
  },
  "luminance": 0.17971
}

Semantic roles & 50–950 ramp

primary
#2D7F97
secondary
#BA7966
accent
#6C4ADD
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2D7F97

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

Preview Lab → · Contrast checker → · Palette generator →

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