#2B87AB#2B87AB

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

Color values

HEX#2B87AB
RGBrgb(43, 135, 171)
HSLhsl(197, 60%, 42%)
HSVhsv(197, 75%, 67%)
CMYKcmyk(74.9%, 21.1%, 0%, 32.9%)
CIE-LABlab(52.71, -14.40, -26.70)
CIE-LCHlch(52.71, 30.34, 241.67°)
OKLaboklab(58.62% -0.066 -0.075)
OKLCHoklch(58.62% 0.1 228.6)
XYZxyz(17.0079, 20.7798, 41.6347)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87AB #AB4F2B
analogous
#2BAB8F #2B87AB #2B47AB
triadic
#2B87AB #AB2B87 #87AB2B
tetradic
#2B87AB #8F2BAB #AB4F2B #47AB2B
square
#2B87AB #8F2BAB #AB4F2B #47AB2B
split-complementary
#2B87AB #AB2B47 #AB8F2B
monochromatic
#123A49 #1F607A #2B87AB #43A8D0 #74BFDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B87AB#FFFFFF#000000##000000
##2B87AB1.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)
#7485AD
Deuteranopia (green-blind)
#6378AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2b87ab;
/* rgb */ color: rgb(43, 135, 171);
/* oklch */ color: oklch(58.6% 0.100 228.6);
Tailwind
colors: {
  custom: {
    50: '#77aac4',
    500: '#2b87ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b87ab;
$custom-light: #77aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87ab",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 196.875,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.09987,
    "h": 228.6
  },
  "luminance": 0.20782
}

Semantic roles & 50–950 ramp

primary
#2B87AB
secondary
#C4866E
accent
#7145E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2B87AB

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

Preview Lab → · Contrast checker → · Palette generator →

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