#2D7997#2D7997

#2D7997 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.087 H 227.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2D7997
RGBrgb(45, 121, 151)
HSLhsl(197, 54%, 38%)
HSVhsv(197, 70%, 59%)
CMYKcmyk(70.2%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.58, -13.15, -22.99)
CIE-LCHlch(47.58, 26.49, 240.23°)
OKLaboklab(54.26% -0.0581 -0.0644)
OKLCHoklch(54.26% 0.087 227.9)
XYZxyz(13.5032, 16.4655, 31.7387)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7997 #974B2D
analogous
#2D9780 #2D7997 #2D4497
triadic
#2D7997 #972D79 #79972D
tetradic
#2D7997 #802D97 #974B2D #44972D
square
#2D7997 #802D97 #974B2D #44972D
split-complementary
#2D7997 #972D44 #97802D
monochromatic
#112D39 #1F5368 #2D7997 #3C9EC5 #6BB6D3

Accessibility & contrast

On white

4.89
#2D7997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2D7997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7997
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7997#FFFFFF#000000##FFFFFF
##2D79971.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697798
Deuteranopia (green-blind)
#5B6C97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d7997;
/* rgb */ color: rgb(45, 121, 151);
/* oklch */ color: oklch(54.3% 0.087 227.9);
Tailwind
colors: {
  custom: {
    50: '#749fb5',
    500: '#2d7997',
    950: '#000000',
  },
}
SCSS
$custom: #2d7997;
$custom-light: #749fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7997",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 196.981,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.08673,
    "h": 227.9
  },
  "luminance": 0.16467
}

Semantic roles & 50–950 ramp

primary
#2D7997
secondary
#BA7E66
accent
#744ADD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D7997

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

Preview Lab → · Contrast checker → · Palette generator →

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