#2B87AC#2B87AC

#2B87AC is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.7% C 0.101 H 229.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2B87AC
RGBrgb(43, 135, 172)
HSLhsl(197, 60%, 42%)
HSVhsv(197, 75%, 67%)
CMYKcmyk(75%, 21.5%, 0%, 32.5%)
CIE-LABlab(52.75, -14.05, -27.21)
CIE-LCHlch(52.75, 30.63, 242.69°)
OKLaboklab(58.67% -0.0656 -0.0764)
OKLCHoklch(58.67% 0.101 229.4)
XYZxyz(17.1036, 20.8181, 42.1386)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87AC #AC502B
analogous
#2BAC90 #2B87AC #2B47AC
triadic
#2B87AC #AC2B87 #87AC2B
tetradic
#2B87AC #902BAC #AC502B #47AC2B
square
#2B87AC #902BAC #AC502B #47AC2B
split-complementary
#2B87AC #AC2B47 #AC902B
monochromatic
#133A4A #1F617B #2B87AC #44A8D0 #75BFDC

Accessibility & contrast

On white

4.07
#2B87AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2B87AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87AC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87AC#FFFFFF#000000##000000
##2B87AC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7485AE
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2b87ac;
/* rgb */ color: rgb(43, 135, 172);
/* oklch */ color: oklch(58.7% 0.101 229.4);
Tailwind
colors: {
  custom: {
    50: '#77aac5',
    500: '#2b87ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b87ac;
$custom-light: #77aac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87ac",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 172
  },
  "hsl": {
    "h": 197.209,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58666,
    "c": 0.10073,
    "h": 229.4
  },
  "luminance": 0.2082
}

Semantic roles & 50–950 ramp

primary
#2B87AC
secondary
#C4876F
accent
#7245E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2B87AC

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

Preview Lab → · Contrast checker → · Palette generator →

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