#2D789C#2D789C

#2D789C is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.3% C 0.092 H 233.0°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2D789C
RGBrgb(45, 120, 156)
HSLhsl(199, 55%, 39%)
HSVhsv(199, 71%, 61%)
CMYKcmyk(71.2%, 23.1%, 0%, 38.8%)
CIE-LABlab(47.48, -10.85, -26.08)
CIE-LCHlch(47.48, 28.25, 247.41°)
OKLaboklab(54.25% -0.0552 -0.0733)
OKLCHoklch(54.25% 0.092 233)
XYZxyz(13.7970, 16.3896, 33.8824)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D789C #9C512D
analogous
#2D9C89 #2D789C #2D419C
triadic
#2D789C #9C2D78 #789C2D
tetradic
#2D789C #892D9C #9C512D #419C2D
square
#2D789C #892D9C #9C512D #419C2D
split-complementary
#2D789C #9C2D41 #9C892D
monochromatic
#122F3D #1F536D #2D789C #3F9BC8 #6EB4D5

Accessibility & contrast

On white

4.91
#2D789C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2D789C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D789C
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D789C#FFFFFF#000000##FFFFFF
##2D789C1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66779E
Deuteranopia (green-blind)
#576C9B
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d789c;
/* rgb */ color: rgb(45, 120, 156);
/* oklch */ color: oklch(54.3% 0.092 233.0);
Tailwind
colors: {
  custom: {
    50: '#749fb9',
    500: '#2d789c',
    950: '#000000',
  },
}
SCSS
$custom: #2d789c;
$custom-light: #749fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d789c",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 156
  },
  "hsl": {
    "h": 199.459,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5425,
    "c": 0.09171,
    "h": 233
  },
  "luminance": 0.16391
}

Semantic roles & 50–950 ramp

primary
#2D789C
secondary
#BC8468
accent
#7A49DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D789C

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

Preview Lab → · Contrast checker → · Palette generator →

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