#2B87AA#2B87AA

#2B87AA is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.6% C 0.099 H 227.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2B87AA
RGBrgb(43, 135, 170)
HSLhsl(197, 60%, 42%)
HSVhsv(197, 75%, 67%)
CMYKcmyk(74.7%, 20.6%, 0%, 33.3%)
CIE-LABlab(52.67, -14.74, -26.19)
CIE-LCHlch(52.67, 30.06, 240.63°)
OKLaboklab(58.57% -0.0664 -0.0735)
OKLCHoklch(58.57% 0.099 227.9)
XYZxyz(16.9130, 20.7418, 41.1346)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87AA #AA4E2B
analogous
#2BAA8D #2B87AA #2B48AA
triadic
#2B87AA #AA2B87 #87AA2B
tetradic
#2B87AA #8D2BAA #AA4E2B #48AA2B
square
#2B87AA #8D2BAA #AA4E2B #48AA2B
split-complementary
#2B87AA #AA2B48 #AA8D2B
monochromatic
#123948 #1F6079 #2B87AA #43A9CF #74BFDC

Accessibility & contrast

On white

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

On black

5.15
#2B87AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87AA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87AA#FFFFFF#000000##000000
##2B87AA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AC
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2b87aa;
/* rgb */ color: rgb(43, 135, 170);
/* oklch */ color: oklch(58.6% 0.099 227.9);
Tailwind
colors: {
  custom: {
    50: '#77aac3',
    500: '#2b87aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b87aa;
$custom-light: #77aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87aa",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 196.535,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.09902,
    "h": 227.9
  },
  "luminance": 0.20744
}

Semantic roles & 50–950 ramp

primary
#2B87AA
secondary
#C3856E
accent
#7045E3
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2B87AA

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

Preview Lab → · Contrast checker → · Palette generator →

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