#2B87B5#2B87B5

#2B87B5 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.109 H 235.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2B87B5
RGBrgb(43, 135, 181)
HSLhsl(200, 62%, 44%)
HSVhsv(200, 76%, 71%)
CMYKcmyk(76.2%, 25.4%, 0%, 29%)
CIE-LABlab(53.14, -10.90, -31.78)
CIE-LCHlch(53.14, 33.59, 251.06°)
OKLaboklab(59.11% -0.0624 -0.0896)
OKLCHoklch(59.11% 0.109 235.1)
XYZxyz(17.9974, 21.1756, 46.8459)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87B5 #B5592B
analogous
#2BB59E #2B87B5 #2B42B5
triadic
#2B87B5 #B52B87 #87B52B
tetradic
#2B87B5 #9E2BB5 #B5592B #42B52B
square
#2B87B5 #9E2BB5 #B5592B #42B52B
split-complementary
#2B87B5 #B52B42 #B59E2B
monochromatic
#143D52 #1F6284 #2B87B5 #49A6D4 #7BBEE0

Accessibility & contrast

On white

4.01
#2B87B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#2B87B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87B5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87B5#FFFFFF#000000##000000
##2B87B51.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B7
Deuteranopia (green-blind)
#5E79B4
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2b87b5;
/* rgb */ color: rgb(43, 135, 181);
/* oklch */ color: oklch(59.1% 0.109 235.1);
Tailwind
colors: {
  custom: {
    50: '#79a9cb',
    500: '#2b87b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b87b5;
$custom-light: #79a9cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87b5",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 181
  },
  "hsl": {
    "h": 200,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59107,
    "c": 0.10917,
    "h": 235.1
  },
  "luminance": 0.21178
}

Semantic roles & 50–950 ramp

primary
#2B87B5
secondary
#C89074
accent
#7943E5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2B87B5

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

Preview Lab → · Contrast checker → · Palette generator →

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