#2D7797#2D7797

#2D7797 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.8% C 0.087 H 230.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2D7797
RGBrgb(45, 119, 151)
HSLhsl(198, 54%, 38%)
HSVhsv(198, 70%, 59%)
CMYKcmyk(70.2%, 21.2%, 0%, 40.8%)
CIE-LABlab(46.95, -12.01, -23.96)
CIE-LCHlch(46.95, 26.80, 243.37°)
OKLaboklab(53.76% -0.056 -0.0672)
OKLCHoklch(53.76% 0.087 230.2)
XYZxyz(13.2627, 15.9844, 31.6585)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7797 #974D2D
analogous
#2D9782 #2D7797 #2D4297
triadic
#2D7797 #972D77 #77972D
tetradic
#2D7797 #822D97 #974D2D #42972D
square
#2D7797 #822D97 #974D2D #42972D
split-complementary
#2D7797 #972D42 #97822D
monochromatic
#112D39 #1F5268 #2D7797 #3C9CC5 #6BB4D3

Accessibility & contrast

On white

5.00
#2D7797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2D7797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7797
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7797#FFFFFF#000000##FFFFFF
##2D77971.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677599
Deuteranopia (green-blind)
#586B97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7797;
/* rgb */ color: rgb(45, 119, 151);
/* oklch */ color: oklch(53.8% 0.087 230.2);
Tailwind
colors: {
  custom: {
    50: '#739eb5',
    500: '#2d7797',
    950: '#000000',
  },
}
SCSS
$custom: #2d7797;
$custom-light: #739eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7797",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 198.113,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.08743,
    "h": 230.2
  },
  "luminance": 0.15986
}

Semantic roles & 50–950 ramp

primary
#2D7797
secondary
#BA7F66
accent
#774ADD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D7797

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

Preview Lab → · Contrast checker → · Palette generator →

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