#2B87A5#2B87A5

#2B87A5 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.3% C 0.095 H 224.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2B87A5
RGBrgb(43, 135, 165)
HSLhsl(195, 59%, 41%)
HSVhsv(195, 74%, 65%)
CMYKcmyk(73.9%, 18.2%, 0%, 35.3%)
CIE-LABlab(52.46, -16.45, -23.62)
CIE-LCHlch(52.46, 28.79, 235.15°)
OKLaboklab(58.34% -0.0683 -0.0661)
OKLCHoklch(58.34% 0.095 224.1)
XYZxyz(16.4490, 20.5562, 38.6908)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87A5 #A5492B
analogous
#2BA586 #2B87A5 #2B4AA5
triadic
#2B87A5 #A52B87 #87A52B
tetradic
#2B87A5 #862BA5 #A5492B #4AA52B
square
#2B87A5 #862BA5 #A5492B #4AA52B
split-complementary
#2B87A5 #A52B4A #A5862B
monochromatic
#123844 #1E5F74 #2B87A5 #40AACD #71C0DA

Accessibility & contrast

On white

4.11
#2B87A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2B87A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87A5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87A5#FFFFFF#000000##000000
##2B87A51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b87a5;
/* rgb */ color: rgb(43, 135, 165);
/* oklch */ color: oklch(58.3% 0.095 224.1);
Tailwind
colors: {
  custom: {
    50: '#76aabf',
    500: '#2b87a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b87a5;
$custom-light: #76aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87a5",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 165
  },
  "hsl": {
    "h": 194.754,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58338,
    "c": 0.09507,
    "h": 224.1
  },
  "luminance": 0.20558
}

Semantic roles & 50–950 ramp

primary
#2B87A5
secondary
#C1806B
accent
#6C46E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2B87A5

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

Preview Lab → · Contrast checker → · Palette generator →

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