#2B7BAB#2B7BAB

#2B7BAB is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.106 H 239.5°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2B7BAB
RGBrgb(43, 123, 171)
HSLhsl(203, 60%, 42%)
HSVhsv(203, 75%, 67%)
CMYKcmyk(74.9%, 28.1%, 0%, 32.9%)
CIE-LABlab(49.03, -7.56, -32.43)
CIE-LCHlch(49.03, 33.30, 256.88°)
OKLaboklab(55.69% -0.0541 -0.0916)
OKLCHoklch(55.69% 0.106 239.5)
XYZxyz(15.4270, 17.6180, 41.1077)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7BAB #AB5B2B
analogous
#2BAB9B #2B7BAB #2B3BAB
triadic
#2B7BAB #AB2B7B #7BAB2B
tetradic
#2B7BAB #9B2BAB #AB5B2B #3BAB2B
square
#2B7BAB #9B2BAB #AB5B2B #3BAB2B
split-complementary
#2B7BAB #AB2B3B #AB9B2B
monochromatic
#123549 #1F587A #2B7BAB #439BD0 #74B5DC

Accessibility & contrast

On white

4.64
#2B7BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2B7BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7BAB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7BAB#FFFFFF#000000##FFFFFF
##2B7BAB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647BAD
Deuteranopia (green-blind)
#536FAA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b7bab;
/* rgb */ color: rgb(43, 123, 171);
/* oklch */ color: oklch(55.7% 0.106 239.5);
Tailwind
colors: {
  custom: {
    50: '#76a1c4',
    500: '#2b7bab',
    950: '#000000',
  },
}
SCSS
$custom: #2b7bab;
$custom-light: #76a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7bab",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 202.5,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55689,
    "c": 0.10638,
    "h": 239.5
  },
  "luminance": 0.1762
}

Semantic roles & 50–950 ramp

primary
#2B7BAB
secondary
#C48E6E
accent
#8045E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B7BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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