#2B87B7#2B87B7

#2B87B7 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.2% C 0.111 H 236.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2B87B7
RGBrgb(43, 135, 183)
HSLhsl(201, 62%, 44%)
HSVhsv(201, 77%, 72%)
CMYKcmyk(76.5%, 26.2%, 0%, 28.2%)
CIE-LABlab(53.23, -10.20, -32.78)
CIE-LCHlch(53.23, 34.33, 252.72°)
OKLaboklab(59.21% -0.0617 -0.0925)
OKLCHoklch(59.21% 0.111 236.3)
XYZxyz(18.2041, 21.2583, 47.9344)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87B7 #B75B2B
analogous
#2BB7A1 #2B87B7 #2B41B7
triadic
#2B87B7 #B72B87 #87B72B
tetradic
#2B87B7 #A12BB7 #B75B2B #41B72B
square
#2B87B7 #A12BB7 #B75B2B #41B72B
split-complementary
#2B87B7 #B72B41 #B7A12B
monochromatic
#143E54 #1F6285 #2B87B7 #4BA5D5 #7CBEE0

Accessibility & contrast

On white

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

On black

5.25
#2B87B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87B7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87B7#FFFFFF#000000##000000
##2B87B71.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b87b7;
/* rgb */ color: rgb(43, 135, 183);
/* oklch */ color: oklch(59.2% 0.111 236.3);
Tailwind
colors: {
  custom: {
    50: '#79a9cd',
    500: '#2b87b7',
    950: '#000000',
  },
}
SCSS
$custom: #2b87b7;
$custom-light: #79a9cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87b7",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 183
  },
  "hsl": {
    "h": 200.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.11119,
    "h": 236.3
  },
  "luminance": 0.2126
}

Semantic roles & 50–950 ramp

primary
#2B87B7
secondary
#C99275
accent
#7A43E5
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2B87B7

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

Preview Lab → · Contrast checker → · Palette generator →

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