#2E87D7#2E87D7

#2E87D7 is a mid, vivid cyan. Relative luminance 0.228; OKLCH L 61.0% C 0.147 H 249.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2E87D7
RGBrgb(46, 135, 215)
HSLhsl(208, 68%, 51%)
HSVhsv(208, 79%, 84%)
CMYKcmyk(78.6%, 37.2%, 0%, 15.7%)
CIE-LABlab(54.88, 1.72, -48.34)
CIE-LCHlch(54.88, 48.38, 272.04°)
OKLaboklab(61.05% -0.0508 -0.1379)
OKLCHoklch(61.05% 0.147 249.8)
XYZxyz(22.0518, 22.8124, 67.5178)
Luminance0.2281 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87D7 #D77E2E
analogous
#2ED7D2 #2E87D7 #2E32D7
triadic
#2E87D7 #D72E87 #87D72E
tetradic
#2E87D7 #D22ED7 #D77E2E #32D72E
square
#2E87D7 #D22ED7 #D77E2E #32D72E
split-complementary
#2E87D7 #D72E32 #D7D22E
monochromatic
#164874 #2068A8 #2E87D7 #61A4E1 #95C2EB

Accessibility & contrast

On white

3.77
#2E87D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#2E87D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87D7
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87D7#FFFFFF#000000##000000
##2E87D71.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618CDA
Deuteranopia (green-blind)
#477CD5
Tritanopia (blue-blind)
#009AA5
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2e87d7;
/* rgb */ color: rgb(46, 135, 215);
/* oklch */ color: oklch(61.0% 0.147 249.8);
Tailwind
colors: {
  custom: {
    50: '#80a9e4',
    500: '#2e87d7',
    950: '#000000',
  },
}
SCSS
$custom: #2e87d7;
$custom-light: #80a9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87d7",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 215
  },
  "hsl": {
    "h": 208.402,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.14691,
    "h": 249.8
  },
  "luminance": 0.22815
}

Semantic roles & 50–950 ramp

primary
#2E87D7
secondary
#D6AE8B
accent
#8F3DEB
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0C0F15
muted
#7D7F84

Preview Lab

Preview with #2E87D7

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

Preview Lab → · Contrast checker → · Palette generator →

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