#2B7997#2B7997

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

Color values

HEX#2B7997
RGBrgb(43, 121, 151)
HSLhsl(197, 56%, 38%)
HSVhsv(197, 72%, 59%)
CMYKcmyk(71.5%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.52, -13.46, -23.08)
CIE-LCHlch(47.52, 26.72, 239.75°)
OKLaboklab(54.2% -0.0592 -0.0647)
OKLCHoklch(54.2% 0.088 227.5)
XYZxyz(13.4173, 16.4212, 31.7346)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7997 #97492B
analogous
#2B977F #2B7997 #2B4397
triadic
#2B7997 #972B79 #79972B
tetradic
#2B7997 #7F2B97 #97492B #43972B
square
#2B7997 #7F2B97 #97492B #43972B
split-complementary
#2B7997 #972B43 #977F2B
monochromatic
#102D38 #1D5367 #2B7997 #399FC7 #68B6D4

Accessibility & contrast

On white

4.90
#2B7997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B7997
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7997#FFFFFF#000000##FFFFFF
##2B79971.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697799
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b7997;
/* rgb */ color: rgb(43, 121, 151);
/* oklch */ color: oklch(54.2% 0.088 227.5);
Tailwind
colors: {
  custom: {
    50: '#739fb5',
    500: '#2b7997',
    950: '#000000',
  },
}
SCSS
$custom: #2b7997;
$custom-light: #739fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7997",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 196.667,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54196,
    "c": 0.08769,
    "h": 227.5
  },
  "luminance": 0.16423
}

Semantic roles & 50–950 ramp

primary
#2B7997
secondary
#BB7B63
accent
#7349DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B7997

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

Preview Lab → · Contrast checker → · Palette generator →

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