#2C789F#2C789F

#2C789F is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.095 H 234.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2C789F
RGBrgb(44, 120, 159)
HSLhsl(200, 57%, 40%)
HSVhsv(200, 72%, 62%)
CMYKcmyk(72.3%, 24.5%, 0%, 37.6%)
CIE-LABlab(47.59, -9.95, -27.68)
CIE-LCHlch(47.59, 29.41, 250.23°)
OKLaboklab(54.37% -0.0546 -0.0779)
OKLCHoklch(54.37% 0.095 234.9)
XYZxyz(14.0107, 16.4700, 35.2348)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C789F #9F532C
analogous
#2C9F8D #2C789F #2C3E9F
triadic
#2C789F #9F2C78 #789F2C
tetradic
#2C789F #8D2C9F #9F532C #3E9F2C
square
#2C789F #8D2C9F #9F532C #3E9F2C
split-complementary
#2C789F #9F2C3E #9F8D2C
monochromatic
#11303F #1F546F #2C789F #3E9BCA #6EB4D7

Accessibility & contrast

On white

4.89
#2C789F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2C789F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C789F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C789F#FFFFFF#000000##FFFFFF
##2C789F1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6577A1
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c789f;
/* rgb */ color: rgb(44, 120, 159);
/* oklch */ color: oklch(54.4% 0.095 234.9);
Tailwind
colors: {
  custom: {
    50: '#749ebb',
    500: '#2c789f',
    950: '#000000',
  },
}
SCSS
$custom: #2c789f;
$custom-light: #749ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c789f",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 200.348,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54368,
    "c": 0.09514,
    "h": 234.9
  },
  "luminance": 0.16472
}

Semantic roles & 50–950 ramp

primary
#2C789F
secondary
#BE8669
accent
#7B48E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2C789F

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

Preview Lab → · Contrast checker → · Palette generator →

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