#2B798D#2B798D

#2B798D is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.7% C 0.080 H 218.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#2B798D
RGBrgb(43, 121, 141)
HSLhsl(192, 53%, 36%)
HSVhsv(192, 70%, 55%)
CMYKcmyk(69.5%, 14.2%, 0%, 44.7%)
CIE-LABlab(47.12, -16.85, -17.81)
CIE-LCHlch(47.12, 24.52, 226.58°)
OKLaboklab(53.74% -0.0633 -0.0496)
OKLCHoklch(53.74% 0.08 218.1)
XYZxyz(12.6394, 16.1100, 27.6376)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B798D #8D3F2B
analogous
#2B8D70 #2B798D #2B488D
triadic
#2B798D #8D2B79 #798D2B
tetradic
#2B798D #702B8D #8D3F2B #488D2B
square
#2B798D #702B8D #8D3F2B #488D2B
split-complementary
#2B798D #8D2B48 #8D702B
monochromatic
#0E292F #1D515E #2B798D #39A1BC #63B9CF

Accessibility & contrast

On white

4.97
#2B798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2B798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B798D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B798D#FFFFFF#000000##FFFFFF
##2B798D1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C768E
Deuteranopia (green-blind)
#5E6B8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b798d;
/* rgb */ color: rgb(43, 121, 141);
/* oklch */ color: oklch(53.7% 0.080 218.1);
Tailwind
colors: {
  custom: {
    50: '#71a0ae',
    500: '#2b798d',
    950: '#000000',
  },
}
SCSS
$custom: #2b798d;
$custom-light: #71a0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b798d",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 192.245,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53739,
    "c": 0.0804,
    "h": 218.1
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#2B798D
secondary
#B6705E
accent
#694BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2B798D

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

Preview Lab → · Contrast checker → · Palette generator →

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