#2D788D#2D788D

#2D788D is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.5% C 0.079 H 219.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2D788D
RGBrgb(45, 120, 141)
HSLhsl(193, 52%, 36%)
HSVhsv(193, 68%, 55%)
CMYKcmyk(68.1%, 14.9%, 0%, 44.7%)
CIE-LABlab(46.86, -15.97, -18.20)
CIE-LCHlch(46.86, 24.21, 228.73°)
OKLaboklab(53.55% -0.061 -0.0507)
OKLCHoklch(53.55% 0.079 219.7)
XYZxyz(12.6044, 15.9125, 27.6013)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D788D #8D422D
analogous
#2D8D72 #2D788D #2D488D
triadic
#2D788D #8D2D78 #788D2D
tetradic
#2D788D #722D8D #8D422D #488D2D
square
#2D788D #722D8D #8D422D #488D2D
split-complementary
#2D788D #8D2D48 #8D722D
monochromatic
#0F2930 #1E515F #2D788D #3C9FBB #66B7CE

Accessibility & contrast

On white

5.02
#2D788D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2D788D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D788D
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D788D#FFFFFF#000000##FFFFFF
##2D788D1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B758E
Deuteranopia (green-blind)
#5D6B8D
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d788d;
/* rgb */ color: rgb(45, 120, 141);
/* oklch */ color: oklch(53.5% 0.079 219.7);
Tailwind
colors: {
  custom: {
    50: '#729fae',
    500: '#2d788d',
    950: '#000000',
  },
}
SCSS
$custom: #2d788d;
$custom-light: #729fae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d788d",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 141
  },
  "hsl": {
    "h": 193.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53547,
    "c": 0.07935,
    "h": 219.7
  },
  "luminance": 0.15914
}

Semantic roles & 50–950 ramp

primary
#2D788D
secondary
#B57361
accent
#6C4DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2D788D

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

Preview Lab → · Contrast checker → · Palette generator →

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