#2B789D#2B789D

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

Color values

HEX#2B789D
RGBrgb(43, 120, 157)
HSLhsl(199, 57%, 39%)
HSVhsv(199, 73%, 62%)
CMYKcmyk(72.6%, 23.6%, 0%, 38.4%)
CIE-LABlab(47.47, -10.80, -26.69)
CIE-LCHlch(47.47, 28.79, 247.97°)
OKLaboklab(54.24% -0.0559 -0.075)
OKLCHoklch(54.24% 0.094 233.3)
XYZxyz(13.7961, 16.3793, 34.3262)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B789D #9D502B
analogous
#2B9D89 #2B789D #2B3F9D
triadic
#2B789D #9D2B78 #789D2B
tetradic
#2B789D #892B9D #9D502B #3F9D2B
square
#2B789D #892B9D #9D502B #3F9D2B
split-complementary
#2B789D #9D2B3F #9D892B
monochromatic
#112F3D #1E536D #2B789D #3C9BCA #6CB4D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B789D#FFFFFF#000000##FFFFFF
##2B789D1.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: #2b789d;
/* rgb */ color: rgb(43, 120, 157);
/* oklch */ color: oklch(54.2% 0.094 233.3);
Tailwind
colors: {
  custom: {
    50: '#749fba',
    500: '#2b789d',
    950: '#000000',
  },
}
SCSS
$custom: #2b789d;
$custom-light: #749fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b789d",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 157
  },
  "hsl": {
    "h": 199.474,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54238,
    "c": 0.09359,
    "h": 233.3
  },
  "luminance": 0.16381
}

Semantic roles & 50–950 ramp

primary
#2B789D
secondary
#BD8366
accent
#7948E0
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B789D

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

Preview Lab → · Contrast checker → · Palette generator →

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