#2B87B6#2B87B6

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

Color values

HEX#2B87B6
RGBrgb(43, 135, 182)
HSLhsl(200, 62%, 44%)
HSVhsv(200, 76%, 71%)
CMYKcmyk(76.4%, 25.8%, 0%, 28.6%)
CIE-LABlab(53.19, -10.55, -32.28)
CIE-LCHlch(53.19, 33.96, 251.90°)
OKLaboklab(59.16% -0.062 -0.0911)
OKLCHoklch(59.16% 0.11 235.7)
XYZxyz(18.1004, 21.2168, 47.3882)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87B6 #B65A2B
analogous
#2BB6A0 #2B87B6 #2B41B6
triadic
#2B87B6 #B62B87 #87B62B
tetradic
#2B87B6 #A02BB6 #B65A2B #41B62B
square
#2B87B6 #A02BB6 #B65A2B #41B62B
split-complementary
#2B87B6 #B62B41 #B6A02B
monochromatic
#143E53 #1F6284 #2B87B6 #4AA5D4 #7BBEE0

Accessibility & contrast

On white

4.00
#2B87B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B87B6#FFFFFF#000000##000000
##2B87B61.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7086B8
Deuteranopia (green-blind)
#5E79B5
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2b87b6;
/* rgb */ color: rgb(43, 135, 182);
/* oklch */ color: oklch(59.2% 0.110 235.7);
Tailwind
colors: {
  custom: {
    50: '#79a9cc',
    500: '#2b87b6',
    950: '#000000',
  },
}
SCSS
$custom: #2b87b6;
$custom-light: #79a9cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87b6",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 182
  },
  "hsl": {
    "h": 200.288,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59157,
    "c": 0.11018,
    "h": 235.7
  },
  "luminance": 0.21219
}

Semantic roles & 50–950 ramp

primary
#2B87B6
secondary
#C89175
accent
#7A43E5
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2B87B6

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

Preview Lab → · Contrast checker → · Palette generator →

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