#2D788C#2D788C

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

Color values

HEX#2D788C
RGBrgb(45, 120, 140)
HSLhsl(193, 51%, 36%)
HSVhsv(193, 68%, 55%)
CMYKcmyk(67.9%, 14.3%, 0%, 45.1%)
CIE-LABlab(46.82, -16.30, -17.67)
CIE-LCHlch(46.82, 24.04, 227.30°)
OKLaboklab(53.5% -0.0614 -0.0492)
OKLCHoklch(53.5% 0.079 218.7)
XYZxyz(12.5303, 15.8829, 27.2112)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D788C #8C412D
analogous
#2D8C71 #2D788C #2D498C
triadic
#2D788C #8C2D78 #788C2D
tetradic
#2D788C #712D8C #8C412D #498C2D
square
#2D788C #712D8C #8C412D #498C2D
split-complementary
#2D788C #8C2D49 #8C712D
monochromatic
#0F292F #1E505E #2D788C #3CA0BA #66B8CE

Accessibility & contrast

On white

5.03
#2D788C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2D788C
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D788C#FFFFFF#000000##FFFFFF
##2D788C1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B758D
Deuteranopia (green-blind)
#5E6B8C
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d788c;
/* rgb */ color: rgb(45, 120, 140);
/* oklch */ color: oklch(53.5% 0.079 218.7);
Tailwind
colors: {
  custom: {
    50: '#729fad',
    500: '#2d788c',
    950: '#000000',
  },
}
SCSS
$custom: #2d788c;
$custom-light: #729fad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d788c",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 140
  },
  "hsl": {
    "h": 192.632,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.07872,
    "h": 218.7
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#2D788C
secondary
#B47260
accent
#6B4DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2D788C

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

Preview Lab → · Contrast checker → · Palette generator →

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