#2B87A4#2B87A4

#2B87A4 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.094 H 223.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2B87A4
RGBrgb(43, 135, 164)
HSLhsl(194, 58%, 41%)
HSVhsv(194, 74%, 64%)
CMYKcmyk(73.8%, 17.7%, 0%, 35.7%)
CIE-LABlab(52.42, -16.79, -23.11)
CIE-LCHlch(52.42, 28.57, 234.00°)
OKLaboklab(58.29% -0.0687 -0.0647)
OKLCHoklch(58.29% 0.094 223.3)
XYZxyz(16.3583, 20.5200, 38.2134)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87A4 #A4482B
analogous
#2BA484 #2B87A4 #2B4AA4
triadic
#2B87A4 #A42B87 #87A42B
tetradic
#2B87A4 #842BA4 #A4482B #4AA42B
square
#2B87A4 #842BA4 #A4482B #4AA42B
split-complementary
#2B87A4 #A42B4A #A4842B
monochromatic
#123743 #1E5F74 #2B87A4 #3FABCD #70C0D9

Accessibility & contrast

On white

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

On black

5.10
#2B87A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87A4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87A4#FFFFFF#000000##000000
##2B87A41.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A6
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2b87a4;
/* rgb */ color: rgb(43, 135, 164);
/* oklch */ color: oklch(58.3% 0.094 223.3);
Tailwind
colors: {
  custom: {
    50: '#76aabf',
    500: '#2b87a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b87a4;
$custom-light: #76aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87a4",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 194.38,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.09433,
    "h": 223.3
  },
  "luminance": 0.20522
}

Semantic roles & 50–950 ramp

primary
#2B87A4
secondary
#C17F6A
accent
#6B46E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2B87A4

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

Preview Lab → · Contrast checker → · Palette generator →

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