#2B7897#2B7897

#2B7897 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.088 H 228.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2B7897
RGBrgb(43, 120, 151)
HSLhsl(197, 56%, 38%)
HSVhsv(197, 72%, 59%)
CMYKcmyk(71.5%, 20.5%, 0%, 40.8%)
CIE-LABlab(47.21, -12.89, -23.57)
CIE-LCHlch(47.21, 26.86, 241.32°)
OKLaboklab(53.95% -0.0582 -0.066)
OKLCHoklch(53.95% 0.088 228.6)
XYZxyz(13.2964, 16.1794, 31.6943)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7897 #974A2B
analogous
#2B9780 #2B7897 #2B4297
triadic
#2B7897 #972B78 #78972B
tetradic
#2B7897 #802B97 #974A2B #42972B
square
#2B7897 #802B97 #974A2B #42972B
split-complementary
#2B7897 #972B42 #97802B
monochromatic
#102C38 #1D5267 #2B7897 #399EC7 #68B5D4

Accessibility & contrast

On white

4.96
#2B7897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2B7897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7897
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7897#FFFFFF#000000##FFFFFF
##2B78971.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b7897;
/* rgb */ color: rgb(43, 120, 151);
/* oklch */ color: oklch(53.9% 0.088 228.6);
Tailwind
colors: {
  custom: {
    50: '#739fb5',
    500: '#2b7897',
    950: '#000000',
  },
}
SCSS
$custom: #2b7897;
$custom-light: #739fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7897",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 197.222,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53945,
    "c": 0.08801,
    "h": 228.6
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#2B7897
secondary
#BB7C63
accent
#7449DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B7897

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

Preview Lab → · Contrast checker → · Palette generator →

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