#2B7AAB#2B7AAB

#2B7AAB is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.4% C 0.107 H 240.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2B7AAB
RGBrgb(43, 122, 171)
HSLhsl(203, 60%, 42%)
HSVhsv(203, 75%, 67%)
CMYKcmyk(74.9%, 28.7%, 0%, 32.9%)
CIE-LABlab(48.72, -6.97, -32.91)
CIE-LCHlch(48.72, 33.64, 258.04°)
OKLaboklab(55.45% -0.0531 -0.093)
OKLCHoklch(55.45% 0.107 240.3)
XYZxyz(15.3036, 17.3712, 41.0666)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7AAB #AB5C2B
analogous
#2BAB9C #2B7AAB #2B3AAB
triadic
#2B7AAB #AB2B7A #7AAB2B
tetradic
#2B7AAB #9C2BAB #AB5C2B #3AAB2B
square
#2B7AAB #9C2BAB #AB5C2B #3AAB2B
split-complementary
#2B7AAB #AB2B3A #AB9C2B
monochromatic
#123449 #1F577A #2B7AAB #439AD0 #74B4DC

Accessibility & contrast

On white

4.69
#2B7AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#2B7AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7AAB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7AAB#FFFFFF#000000##FFFFFF
##2B7AAB1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637AAD
Deuteranopia (green-blind)
#526EAA
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b7aab;
/* rgb */ color: rgb(43, 122, 171);
/* oklch */ color: oklch(55.4% 0.107 240.3);
Tailwind
colors: {
  custom: {
    50: '#76a0c4',
    500: '#2b7aab',
    950: '#000000',
  },
}
SCSS
$custom: #2b7aab;
$custom-light: #76a0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7aab",
  "rgb": {
    "r": 43,
    "g": 122,
    "b": 171
  },
  "hsl": {
    "h": 202.969,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.55447,
    "c": 0.10709,
    "h": 240.3
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#2B7AAB
secondary
#C48F6E
accent
#8145E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2B7AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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