#2B87A7#2B87A7

#2B87A7 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.4% C 0.097 H 225.7°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2B87A7
RGBrgb(43, 135, 167)
HSLhsl(195, 59%, 41%)
HSVhsv(195, 74%, 65%)
CMYKcmyk(74.3%, 19.2%, 0%, 34.5%)
CIE-LABlab(52.54, -15.77, -24.65)
CIE-LCHlch(52.54, 29.27, 237.39°)
OKLaboklab(58.43% -0.0675 -0.0691)
OKLCHoklch(58.43% 0.097 225.7)
XYZxyz(16.6324, 20.6296, 39.6571)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87A7 #A74B2B
analogous
#2BA789 #2B87A7 #2B49A7
triadic
#2B87A7 #A72B87 #87A72B
tetradic
#2B87A7 #892BA7 #A74B2B #49A72B
square
#2B87A7 #892BA7 #A74B2B #49A72B
split-complementary
#2B87A7 #A72B49 #A7892B
monochromatic
#123846 #1E6076 #2B87A7 #41AACE #72C0DB

Accessibility & contrast

On white

4.10
#2B87A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#2B87A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87A7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87A7#FFFFFF#000000##000000
##2B87A71.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A9
Deuteranopia (green-blind)
#6578A7
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2b87a7;
/* rgb */ color: rgb(43, 135, 167);
/* oklch */ color: oklch(58.4% 0.097 225.7);
Tailwind
colors: {
  custom: {
    50: '#76aac1',
    500: '#2b87a7',
    950: '#000000',
  },
}
SCSS
$custom: #2b87a7;
$custom-light: #76aac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87a7",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 167
  },
  "hsl": {
    "h": 195.484,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.0966,
    "h": 225.7
  },
  "luminance": 0.20632
}

Semantic roles & 50–950 ramp

primary
#2B87A7
secondary
#C2826C
accent
#6E46E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2B87A7

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

Preview Lab → · Contrast checker → · Palette generator →

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