#2E87A9#2E87A9

#2E87A9 is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.6% C 0.097 H 227.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2E87A9
RGBrgb(46, 135, 169)
HSLhsl(197, 57%, 42%)
HSVhsv(197, 73%, 66%)
CMYKcmyk(72.8%, 20.1%, 0%, 33.7%)
CIE-LABlab(52.70, -14.68, -25.56)
CIE-LCHlch(52.70, 29.48, 240.13°)
OKLaboklab(58.6% -0.0653 -0.0717)
OKLCHoklch(58.6% 0.097 227.7)
XYZxyz(16.9492, 20.7714, 40.6444)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87A9 #A9502E
analogous
#2EA98D #2E87A9 #2E4AA9
triadic
#2E87A9 #A92E87 #87A92E
tetradic
#2E87A9 #8D2EA9 #A9502E #4AA92E
square
#2E87A9 #8D2EA9 #A9502E #4AA92E
split-complementary
#2E87A9 #A92E4A #A98D2E
monochromatic
#143A49 #216179 #2E87A9 #47A8CD #77BFDA

Accessibility & contrast

On white

4.07
#2E87A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#2E87A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87A9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87A9#FFFFFF#000000##000000
##2E87A91.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AB
Deuteranopia (green-blind)
#6478A9
Tritanopia (blue-blind)
#009192
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2e87a9;
/* rgb */ color: rgb(46, 135, 169);
/* oklch */ color: oklch(58.6% 0.097 227.7);
Tailwind
colors: {
  custom: {
    50: '#78aac2',
    500: '#2e87a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e87a9;
$custom-light: #78aac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87a9",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 169
  },
  "hsl": {
    "h": 196.585,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58604,
    "c": 0.09694,
    "h": 227.7
  },
  "luminance": 0.20773
}

Semantic roles & 50–950 ramp

primary
#2E87A9
secondary
#C28771
accent
#7247E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2E87A9

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

Preview Lab → · Contrast checker → · Palette generator →

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