#2E87BB#2E87BB

#2E87BB is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.5% C 0.114 H 239.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2E87BB
RGBrgb(46, 135, 187)
HSLhsl(202, 61%, 46%)
HSVhsv(202, 75%, 73%)
CMYKcmyk(75.4%, 27.8%, 0%, 26.7%)
CIE-LABlab(53.49, -8.41, -34.67)
CIE-LCHlch(53.49, 35.67, 256.36°)
OKLaboklab(59.49% -0.0589 -0.0979)
OKLCHoklch(59.49% 0.114 239)
XYZxyz(18.7568, 21.4944, 50.1644)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87BB #BB622E
analogous
#2EBBA8 #2E87BB #2E40BB
triadic
#2E87BB #BB2E87 #87BB2E
tetradic
#2E87BB #A82EBB #BB622E #40BB2E
square
#2E87BB #A82EBB #BB622E #40BB2E
split-complementary
#2E87BB #BB2E40 #BBA82E
monochromatic
#164059 #22648A #2E87BB #52A4D4 #83BEE0

Accessibility & contrast

On white

3.96
#2E87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#2E87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87BB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87BB#FFFFFF#000000##000000
##2E87BB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BD
Deuteranopia (green-blind)
#5B7ABA
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2e87bb;
/* rgb */ color: rgb(46, 135, 187);
/* oklch */ color: oklch(59.5% 0.114 239.0);
Tailwind
colors: {
  custom: {
    50: '#7ba9cf',
    500: '#2e87bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e87bb;
$custom-light: #7ba9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87bb",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 202.128,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.11429,
    "h": 239
  },
  "luminance": 0.21497
}

Semantic roles & 50–950 ramp

primary
#2E87BB
secondary
#CA987B
accent
#7F44E4
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2E87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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