#2B87A9#2B87A9

#2B87A9 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.098 H 227.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2B87A9
RGBrgb(43, 135, 169)
HSLhsl(196, 59%, 42%)
HSVhsv(196, 75%, 66%)
CMYKcmyk(74.6%, 20.1%, 0%, 33.7%)
CIE-LABlab(52.62, -15.09, -25.68)
CIE-LCHlch(52.62, 29.78, 239.57°)
OKLaboklab(58.52% -0.0667 -0.072)
OKLCHoklch(58.52% 0.098 227.2)
XYZxyz(16.8187, 20.7041, 40.6383)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87A9 #A94D2B
analogous
#2BA98C #2B87A9 #2B48A9
triadic
#2B87A9 #A92B87 #87A92B
tetradic
#2B87A9 #8C2BA9 #A94D2B #48A92B
square
#2B87A9 #8C2BA9 #A94D2B #48A92B
split-complementary
#2B87A9 #A92B48 #A98C2B
monochromatic
#123947 #1F6078 #2B87A9 #42A9CF #73BFDB

Accessibility & contrast

On white

4.08
#2B87A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2B87A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87A9
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87A9#FFFFFF#000000##000000
##2B87A91.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584AB
Deuteranopia (green-blind)
#6478A9
Tritanopia (blue-blind)
#009192
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2b87a9;
/* rgb */ color: rgb(43, 135, 169);
/* oklch */ color: oklch(58.5% 0.098 227.2);
Tailwind
colors: {
  custom: {
    50: '#77aac2',
    500: '#2b87a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b87a9;
$custom-light: #77aac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87a9",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 169
  },
  "hsl": {
    "h": 196.19,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58524,
    "c": 0.0982,
    "h": 227.2
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#2B87A9
secondary
#C3846D
accent
#7045E3
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2B87A9

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

Preview Lab → · Contrast checker → · Palette generator →

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