#2E87A6#2E87A6

#2E87A6 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.095 H 225.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2E87A6
RGBrgb(46, 135, 166)
HSLhsl(196, 57%, 42%)
HSVhsv(196, 72%, 65%)
CMYKcmyk(72.3%, 18.7%, 0%, 34.9%)
CIE-LABlab(52.58, -15.70, -24.02)
CIE-LCHlch(52.58, 28.70, 236.83°)
OKLaboklab(58.47% -0.0664 -0.0672)
OKLCHoklch(58.47% 0.095 225.3)
XYZxyz(16.6708, 20.6600, 39.1782)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87A6 #A64D2E
analogous
#2EA689 #2E87A6 #2E4BA6
triadic
#2E87A6 #A62E87 #87A62E
tetradic
#2E87A6 #892EA6 #A64D2E #4BA62E
square
#2E87A6 #892EA6 #A64D2E #4BA62E
split-complementary
#2E87A6 #A62E4B #A6892E
monochromatic
#133946 #216076 #2E87A6 #46A9CC #76BFD9

Accessibility & contrast

On white

4.09
#2E87A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#2E87A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87A6
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87A6#FFFFFF#000000##000000
##2E87A61.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A8
Deuteranopia (green-blind)
#6678A6
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e87a6;
/* rgb */ color: rgb(46, 135, 166);
/* oklch */ color: oklch(58.5% 0.095 225.3);
Tailwind
colors: {
  custom: {
    50: '#77aac0',
    500: '#2e87a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e87a6;
$custom-light: #77aac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87a6",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 166
  },
  "hsl": {
    "h": 195.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58465,
    "c": 0.09452,
    "h": 225.3
  },
  "luminance": 0.20662
}

Semantic roles & 50–950 ramp

primary
#2E87A6
secondary
#C1846F
accent
#6F48E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2E87A6

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

Preview Lab → · Contrast checker → · Palette generator →

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