#2E87B8#2E87B8

#2E87B8 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.3% C 0.111 H 237.4°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2E87B8
RGBrgb(46, 135, 184)
HSLhsl(201, 60%, 45%)
HSVhsv(201, 75%, 72%)
CMYKcmyk(75%, 26.6%, 0%, 27.8%)
CIE-LABlab(53.35, -9.47, -33.16)
CIE-LCHlch(53.35, 34.49, 254.06°)
OKLaboklab(59.34% -0.0599 -0.0936)
OKLCHoklch(59.34% 0.111 237.4)
XYZxyz(18.4390, 21.3673, 48.4906)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87B8 #B85F2E
analogous
#2EB8A4 #2E87B8 #2E42B8
triadic
#2E87B8 #B82E87 #87B82E
tetradic
#2E87B8 #A42EB8 #B85F2E #42B82E
square
#2E87B8 #A42EB8 #B85F2E #42B82E
split-complementary
#2E87B8 #B82E42 #B8A42E
monochromatic
#163F56 #226387 #2E87B8 #50A5D3 #81BEDF

Accessibility & contrast

On white

3.98
#2E87B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#2E87B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87B8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87B8#FFFFFF#000000##000000
##2E87B81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7087BA
Deuteranopia (green-blind)
#5D7AB7
Tritanopia (blue-blind)
#009498
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2e87b8;
/* rgb */ color: rgb(46, 135, 184);
/* oklch */ color: oklch(59.3% 0.111 237.4);
Tailwind
colors: {
  custom: {
    50: '#7aa9cd',
    500: '#2e87b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e87b8;
$custom-light: #7aa9cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87b8",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 184
  },
  "hsl": {
    "h": 201.304,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.59338,
    "c": 0.11112,
    "h": 237.4
  },
  "luminance": 0.21369
}

Semantic roles & 50–950 ramp

primary
#2E87B8
secondary
#C89579
accent
#7D45E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2E87B8

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

Preview Lab → · Contrast checker → · Palette generator →

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