#2B7FA6#2B7FA6

#2B7FA6 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.099 H 232.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2B7FA6
RGBrgb(43, 127, 166)
HSLhsl(199, 59%, 41%)
HSVhsv(199, 74%, 65%)
CMYKcmyk(74.1%, 23.5%, 0%, 34.9%)
CIE-LABlab(50.03, -11.64, -27.96)
CIE-LCHlch(50.03, 30.29, 247.40°)
OKLaboklab(56.41% -0.0598 -0.0786)
OKLCHoklch(56.41% 0.099 232.8)
XYZxyz(15.4658, 18.4437, 38.8139)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FA6 #A6522B
analogous
#2BA68F #2B7FA6 #2B41A6
triadic
#2B7FA6 #A62B7F #7FA62B
tetradic
#2B7FA6 #8F2BA6 #A6522B #41A62B
square
#2B7FA6 #8F2BA6 #A6522B #41A62B
split-complementary
#2B7FA6 #A62B41 #A68F2B
monochromatic
#123545 #1E5A75 #2B7FA6 #41A1CE #71B9DA

Accessibility & contrast

On white

4.48
#2B7FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2B7FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FA6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FA6#FFFFFF#000000##000000
##2B7FA61.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA8
Deuteranopia (green-blind)
#5B72A5
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7fa6;
/* rgb */ color: rgb(43, 127, 166);
/* oklch */ color: oklch(56.4% 0.099 232.8);
Tailwind
colors: {
  custom: {
    50: '#76a4c0',
    500: '#2b7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fa6;
$custom-light: #76a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fa6",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 199.024,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5641,
    "c": 0.0988,
    "h": 232.8
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#2B7FA6
secondary
#C1876B
accent
#7746E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2B7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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