#2B87B4#2B87B4

#2B87B4 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.1% C 0.108 H 234.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2B87B4
RGBrgb(43, 135, 180)
HSLhsl(200, 61%, 44%)
HSVhsv(200, 76%, 71%)
CMYKcmyk(76.1%, 25%, 0%, 29.4%)
CIE-LABlab(53.10, -11.26, -31.27)
CIE-LCHlch(53.10, 33.24, 250.20°)
OKLaboklab(59.06% -0.0627 -0.0881)
OKLCHoklch(59.06% 0.108 234.6)
XYZxyz(17.8952, 21.1347, 46.3074)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87B4 #B4582B
analogous
#2BB49C #2B87B4 #2B42B4
triadic
#2B87B4 #B42B87 #87B42B
tetradic
#2B87B4 #9C2BB4 #B4582B #42B42B
square
#2B87B4 #9C2BB4 #B4582B #42B42B
split-complementary
#2B87B4 #B42B42 #B49C2B
monochromatic
#133D51 #1F6283 #2B87B4 #49A6D3 #7ABEDF

Accessibility & contrast

On white

4.02
#2B87B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#2B87B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87B4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87B4#FFFFFF#000000##000000
##2B87B41.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B6
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2b87b4;
/* rgb */ color: rgb(43, 135, 180);
/* oklch */ color: oklch(59.1% 0.108 234.6);
Tailwind
colors: {
  custom: {
    50: '#78a9ca',
    500: '#2b87b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b87b4;
$custom-light: #78a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87b4",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 180
  },
  "hsl": {
    "h": 199.708,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.59057,
    "c": 0.10818,
    "h": 234.6
  },
  "luminance": 0.21137
}

Semantic roles & 50–950 ramp

primary
#2B87B4
secondary
#C78F73
accent
#7843E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2B87B4

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

Preview Lab → · Contrast checker → · Palette generator →

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