#2C789D#2C789D

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

Color values

HEX#2C789D
RGBrgb(44, 120, 157)
HSLhsl(200, 56%, 39%)
HSVhsv(200, 72%, 62%)
CMYKcmyk(72%, 23.6%, 0%, 38.4%)
CIE-LABlab(47.50, -10.65, -26.64)
CIE-LCHlch(47.50, 28.70, 248.21°)
OKLaboklab(54.27% -0.0554 -0.0749)
OKLCHoklch(54.27% 0.093 233.5)
XYZxyz(13.8386, 16.4012, 34.3282)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C789D #9D512C
analogous
#2C9D8A #2C789D #2C409D
triadic
#2C789D #9D2C78 #789D2C
tetradic
#2C789D #8A2C9D #9D512C #409D2C
square
#2C789D #8A2C9D #9D512C #409D2C
split-complementary
#2C789D #9D2C40 #9D8A2C
monochromatic
#112F3D #1F536D #2C789D #3D9BC9 #6DB4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C789D#FFFFFF#000000##FFFFFF
##2C789D1.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)
#66779F
Deuteranopia (green-blind)
#566C9C
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2c789d;
/* rgb */ color: rgb(44, 120, 157);
/* oklch */ color: oklch(54.3% 0.093 233.5);
Tailwind
colors: {
  custom: {
    50: '#749fba',
    500: '#2c789d',
    950: '#000000',
  },
}
SCSS
$custom: #2c789d;
$custom-light: #749fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c789d",
  "rgb": {
    "r": 44,
    "g": 120,
    "b": 157
  },
  "hsl": {
    "h": 199.646,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54268,
    "c": 0.09314,
    "h": 233.5
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#2C789D
secondary
#BD8468
accent
#7A48E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2C789D

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

Preview Lab → · Contrast checker → · Palette generator →

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