#2B7BAD#2B7BAD

#2B7BAD is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.109 H 240.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2B7BAD
RGBrgb(43, 123, 173)
HSLhsl(203, 60%, 42%)
HSVhsv(203, 75%, 68%)
CMYKcmyk(75.1%, 28.9%, 0%, 32.2%)
CIE-LABlab(49.12, -6.84, -33.44)
CIE-LCHlch(49.12, 34.14, 258.45°)
OKLaboklab(55.79% -0.0534 -0.0945)
OKLCHoklch(55.79% 0.109 240.5)
XYZxyz(15.6191, 17.6948, 42.1193)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7BAD #AD5D2B
analogous
#2BAD9E #2B7BAD #2B3AAD
triadic
#2B7BAD #AD2B7B #7BAD2B
tetradic
#2B7BAD #9E2BAD #AD5D2B #3AAD2B
square
#2B7BAD #9E2BAD #AD5D2B #3AAD2B
split-complementary
#2B7BAD #AD2B3A #AD9E2B
monochromatic
#13354B #1F587C #2B7BAD #459BD1 #76B5DD

Accessibility & contrast

On white

4.63
#2B7BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2B7BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7BAD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7BAD#FFFFFF#000000##FFFFFF
##2B7BAD1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647CAF
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2b7bad;
/* rgb */ color: rgb(43, 123, 173);
/* oklch */ color: oklch(55.8% 0.109 240.5);
Tailwind
colors: {
  custom: {
    50: '#77a1c5',
    500: '#2b7bad',
    950: '#000000',
  },
}
SCSS
$custom: #2b7bad;
$custom-light: #77a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7bad",
  "rgb": {
    "r": 43,
    "g": 123,
    "b": 173
  },
  "hsl": {
    "h": 203.077,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.10859,
    "h": 240.5
  },
  "luminance": 0.17697
}

Semantic roles & 50–950 ramp

primary
#2B7BAD
secondary
#C4906F
accent
#8244E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2B7BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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