#2E87B6#2E87B6

#2E87B6 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.2% C 0.109 H 236.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2E87B6
RGBrgb(46, 135, 182)
HSLhsl(201, 60%, 45%)
HSVhsv(201, 75%, 71%)
CMYKcmyk(74.7%, 25.8%, 0%, 28.6%)
CIE-LABlab(53.26, -10.18, -32.16)
CIE-LCHlch(53.26, 33.73, 252.44°)
OKLaboklab(59.24% -0.0606 -0.0907)
OKLCHoklch(59.24% 0.109 236.3)
XYZxyz(18.2308, 21.2841, 47.3943)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87B6 #B65D2E
analogous
#2EB6A1 #2E87B6 #2E43B6
triadic
#2E87B6 #B62E87 #87B62E
tetradic
#2E87B6 #A12EB6 #B65D2E #43B62E
square
#2E87B6 #A12EB6 #B65D2E #43B62E
split-complementary
#2E87B6 #B62E43 #B6A12E
monochromatic
#153F54 #226385 #2E87B6 #4FA5D2 #80BEDF

Accessibility & contrast

On white

3.99
#2E87B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#2E87B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87B6
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87B6#FFFFFF#000000##000000
##2E87B61.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7086B8
Deuteranopia (green-blind)
#5E79B5
Tritanopia (blue-blind)
#009397
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2e87b6;
/* rgb */ color: rgb(46, 135, 182);
/* oklch */ color: oklch(59.2% 0.109 236.3);
Tailwind
colors: {
  custom: {
    50: '#7aa9cc',
    500: '#2e87b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e87b6;
$custom-light: #7aa9cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87b6",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 182
  },
  "hsl": {
    "h": 200.735,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.59236,
    "c": 0.10906,
    "h": 236.3
  },
  "luminance": 0.21286
}

Semantic roles & 50–950 ramp

primary
#2E87B6
secondary
#C89478
accent
#7C45E3
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2E87B6

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

Preview Lab → · Contrast checker → · Palette generator →

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