#2E87BD#2E87BD

#2E87BD is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.6% C 0.116 H 240.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2E87BD
RGBrgb(46, 135, 189)
HSLhsl(203, 61%, 46%)
HSVhsv(203, 76%, 74%)
CMYKcmyk(75.7%, 28.6%, 0%, 25.9%)
CIE-LABlab(53.58, -7.70, -35.66)
CIE-LCHlch(53.58, 36.48, 257.82°)
OKLaboklab(59.6% -0.0582 -0.1008)
OKLCHoklch(59.6% 0.116 240)
XYZxyz(18.9724, 21.5807, 51.2998)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87BD #BD642E
analogous
#2EBDAB #2E87BD #2E40BD
triadic
#2E87BD #BD2E87 #87BD2E
tetradic
#2E87BD #AB2EBD #BD642E #40BD2E
square
#2E87BD #AB2EBD #BD642E #40BD2E
split-complementary
#2E87BD #BD2E40 #BDAB2E
monochromatic
#16415B #22648C #2E87BD #53A4D5 #84BEE1

Accessibility & contrast

On white

3.95
#2E87BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#2E87BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87BD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87BD#FFFFFF#000000##000000
##2E87BD1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BF
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#00959A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2e87bd;
/* rgb */ color: rgb(46, 135, 189);
/* oklch */ color: oklch(59.6% 0.116 240.0);
Tailwind
colors: {
  custom: {
    50: '#7ba9d1',
    500: '#2e87bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e87bd;
$custom-light: #7ba9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87bd",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 202.657,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.11645,
    "h": 240
  },
  "luminance": 0.21583
}

Semantic roles & 50–950 ramp

primary
#2E87BD
secondary
#CA9A7C
accent
#8044E4
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2E87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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