#2B789C#2B789C

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

Color values

HEX#2B789C
RGBrgb(43, 120, 156)
HSLhsl(199, 57%, 39%)
HSVhsv(199, 72%, 61%)
CMYKcmyk(72.4%, 23.1%, 0%, 38.8%)
CIE-LABlab(47.42, -11.15, -26.17)
CIE-LCHlch(47.42, 28.45, 246.92°)
OKLaboklab(54.19% -0.0563 -0.0735)
OKLCHoklch(54.19% 0.093 232.6)
XYZxyz(13.7111, 16.3453, 33.8784)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B789C #9C4F2B
analogous
#2B9C88 #2B789C #2B409C
triadic
#2B789C #9C2B78 #789C2B
tetradic
#2B789C #882B9C #9C4F2B #409C2B
square
#2B789C #882B9C #9C4F2B #409C2B
split-complementary
#2B789C #9C2B40 #9C882B
monochromatic
#112E3C #1E536C #2B789C #3B9CC9 #6BB4D6

Accessibility & contrast

On white

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

On black

4.27
#2B789C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B789C#FFFFFF#000000##FFFFFF
##2B789C1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b789c;
/* rgb */ color: rgb(43, 120, 156);
/* oklch */ color: oklch(54.2% 0.093 232.6);
Tailwind
colors: {
  custom: {
    50: '#749fb9',
    500: '#2b789c',
    950: '#000000',
  },
}
SCSS
$custom: #2b789c;
$custom-light: #749fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b789c",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 156
  },
  "hsl": {
    "h": 199.115,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54188,
    "c": 0.09261,
    "h": 232.6
  },
  "luminance": 0.16347
}

Semantic roles & 50–950 ramp

primary
#2B789C
secondary
#BD8266
accent
#7848E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B789C

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

Preview Lab → · Contrast checker → · Palette generator →

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