#2E87A0#2E87A0

#2E87A0 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.2% C 0.090 H 220.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2E87A0
RGBrgb(46, 135, 160)
HSLhsl(193, 55%, 40%)
HSVhsv(193, 71%, 63%)
CMYKcmyk(71.2%, 15.6%, 0%, 37.3%)
CIE-LABlab(52.34, -17.71, -20.92)
CIE-LCHlch(52.34, 27.41, 229.74°)
OKLaboklab(58.19% -0.0688 -0.0584)
OKLCHoklch(58.19% 0.09 220.3)
XYZxyz(16.1332, 20.4450, 36.3469)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87A0 #A0472E
analogous
#2EA080 #2E87A0 #2E4EA0
triadic
#2E87A0 #A02E87 #87A02E
tetradic
#2E87A0 #802EA0 #A0472E #4EA02E
square
#2E87A0 #802EA0 #A0472E #4EA02E
split-complementary
#2E87A0 #A02E4E #A0802E
monochromatic
#133741 #205F70 #2E87A0 #42ABC9 #72C0D6

Accessibility & contrast

On white

4.13
#2E87A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#2E87A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87A0
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87A0#FFFFFF#000000##000000
##2E87A01.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A1
Deuteranopia (green-blind)
#6878A0
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2e87a0;
/* rgb */ color: rgb(46, 135, 160);
/* oklch */ color: oklch(58.2% 0.090 220.3);
Tailwind
colors: {
  custom: {
    50: '#76aabc',
    500: '#2e87a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e87a0;
$custom-light: #76aabc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87a0",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 160
  },
  "hsl": {
    "h": 193.158,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.09024,
    "h": 220.3
  },
  "luminance": 0.20447
}

Semantic roles & 50–950 ramp

primary
#2E87A0
secondary
#BE7E6C
accent
#6A49DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2E87A0

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

Preview Lab → · Contrast checker → · Palette generator →

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