#2D789A#2D789A

#2D789A is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.2% C 0.090 H 231.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2D789A
RGBrgb(45, 120, 154)
HSLhsl(199, 55%, 39%)
HSVhsv(199, 71%, 60%)
CMYKcmyk(70.8%, 22.1%, 0%, 39.6%)
CIE-LABlab(47.39, -11.55, -25.04)
CIE-LCHlch(47.39, 27.57, 245.24°)
OKLaboklab(54.15% -0.0559 -0.0703)
OKLCHoklch(54.15% 0.09 231.5)
XYZxyz(13.6291, 16.3224, 32.9978)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D789A #9A4F2D
analogous
#2D9A86 #2D789A #2D419A
triadic
#2D789A #9A2D78 #789A2D
tetradic
#2D789A #862D9A #9A4F2D #419A2D
square
#2D789A #862D9A #9A4F2D #419A2D
split-complementary
#2D789A #9A2D41 #9A862D
monochromatic
#112E3B #1F536B #2D789A #3E9CC7 #6DB4D4

Accessibility & contrast

On white

4.92
#2D789A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2D789A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D789A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D789A#FFFFFF#000000##FFFFFF
##2D789A1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769C
Deuteranopia (green-blind)
#586C9A
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d789a;
/* rgb */ color: rgb(45, 120, 154);
/* oklch */ color: oklch(54.2% 0.090 231.5);
Tailwind
colors: {
  custom: {
    50: '#749fb8',
    500: '#2d789a',
    950: '#000000',
  },
}
SCSS
$custom: #2d789a;
$custom-light: #749fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d789a",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 154
  },
  "hsl": {
    "h": 198.716,
    "s": 54.774,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.08979,
    "h": 231.5
  },
  "luminance": 0.16324
}

Semantic roles & 50–950 ramp

primary
#2D789A
secondary
#BB8267
accent
#784ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D789A

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

Preview Lab → · Contrast checker → · Palette generator →

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