#2D798D#2D798D

#2D798D is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.8% C 0.079 H 218.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2D798D
RGBrgb(45, 121, 141)
HSLhsl(193, 52%, 36%)
HSVhsv(193, 68%, 55%)
CMYKcmyk(68.1%, 14.2%, 0%, 44.7%)
CIE-LABlab(47.18, -16.52, -17.71)
CIE-LCHlch(47.18, 24.22, 226.99°)
OKLaboklab(53.8% -0.0621 -0.0493)
OKLCHoklch(53.8% 0.079 218.5)
XYZxyz(12.7253, 16.1543, 27.6416)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D798D #8D412D
analogous
#2D8D71 #2D798D #2D498D
triadic
#2D798D #8D2D79 #798D2D
tetradic
#2D798D #712D8D #8D412D #498D2D
square
#2D798D #712D8D #8D412D #498D2D
split-complementary
#2D798D #8D2D49 #8D712D
monochromatic
#0F2930 #1E515F #2D798D #3CA1BB #66B9CE

Accessibility & contrast

On white

4.96
#2D798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2D798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D798D
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D798D#FFFFFF#000000##FFFFFF
##2D798D1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C768E
Deuteranopia (green-blind)
#5F6C8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d798d;
/* rgb */ color: rgb(45, 121, 141);
/* oklch */ color: oklch(53.8% 0.079 218.5);
Tailwind
colors: {
  custom: {
    50: '#729fae',
    500: '#2d798d',
    950: '#000000',
  },
}
SCSS
$custom: #2d798d;
$custom-light: #729fae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d798d",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 192.5,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.07934,
    "h": 218.5
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#2D798D
secondary
#B57261
accent
#6A4DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2D798D

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

Preview Lab → · Contrast checker → · Palette generator →

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