#2E87C7#2E87C7

#2E87C7 is a mid, vivid cyan. Relative luminance 0.220; OKLCH L 60.1% C 0.128 H 244.4°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#2E87C7
RGBrgb(46, 135, 199)
HSLhsl(205, 62%, 48%)
HSVhsv(205, 77%, 78%)
CMYKcmyk(76.9%, 32.2%, 0%, 22%)
CIE-LABlab(54.06, -4.11, -40.60)
CIE-LCHlch(54.06, 40.81, 264.22°)
OKLaboklab(60.13% -0.0551 -0.1152)
OKLCHoklch(60.13% 0.128 244.4)
XYZxyz(20.0955, 22.0299, 57.2148)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87C7 #C76E2E
analogous
#2EC7BA #2E87C7 #2E3AC7
triadic
#2E87C7 #C72E87 #87C72E
tetradic
#2E87C7 #BA2EC7 #C76E2E #3AC72E
square
#2E87C7 #BA2EC7 #C76E2E #3AC72E
split-complementary
#2E87C7 #C72E3A #C7BA2E
monochromatic
#174464 #236595 #2E87C7 #59A3D9 #8BBFE4

Accessibility & contrast

On white

3.88
#2E87C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#2E87C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87C7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87C7#FFFFFF#000000##000000
##2E87C71.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6989CA
Deuteranopia (green-blind)
#547BC6
Tritanopia (blue-blind)
#00979E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2e87c7;
/* rgb */ color: rgb(46, 135, 199);
/* oklch */ color: oklch(60.1% 0.128 244.4);
Tailwind
colors: {
  custom: {
    50: '#7da9d8',
    500: '#2e87c7',
    950: '#000000',
  },
}
SCSS
$custom: #2e87c7;
$custom-light: #7da9d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87c7",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 199
  },
  "hsl": {
    "h": 205.098,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.60133,
    "c": 0.12773,
    "h": 244.4
  },
  "luminance": 0.22032
}

Semantic roles & 50–950 ramp

primary
#2E87C7
secondary
#CEA283
accent
#8742E6
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #2E87C7

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

Preview Lab → · Contrast checker → · Palette generator →

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