#2E87B2#2E87B2

#2E87B2 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.105 H 233.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2E87B2
RGBrgb(46, 135, 178)
HSLhsl(200, 59%, 44%)
HSVhsv(200, 74%, 70%)
CMYKcmyk(74.2%, 24.2%, 0%, 30.2%)
CIE-LABlab(53.08, -11.58, -30.14)
CIE-LCHlch(53.08, 32.29, 248.99°)
OKLaboklab(59.04% -0.062 -0.0848)
OKLCHoklch(59.04% 0.105 233.9)
XYZxyz(17.8234, 21.1211, 45.2483)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87B2 #B2592E
analogous
#2EB29B #2E87B2 #2E45B2
triadic
#2E87B2 #B22E87 #87B22E
tetradic
#2E87B2 #9B2EB2 #B2592E #45B22E
square
#2E87B2 #9B2EB2 #B2592E #45B22E
split-complementary
#2E87B2 #B22E45 #B29B2E
monochromatic
#153D51 #216281 #2E87B2 #4CA6D1 #7DBEDD

Accessibility & contrast

On white

4.02
#2E87B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#2E87B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87B2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87B2#FFFFFF#000000##000000
##2E87B21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B4
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2e87b2;
/* rgb */ color: rgb(46, 135, 178);
/* oklch */ color: oklch(59.0% 0.105 233.9);
Tailwind
colors: {
  custom: {
    50: '#79aac9',
    500: '#2e87b2',
    950: '#000000',
  },
}
SCSS
$custom: #2e87b2;
$custom-light: #79aac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87b2",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 199.545,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59037,
    "c": 0.10508,
    "h": 233.9
  },
  "luminance": 0.21123
}

Semantic roles & 50–950 ramp

primary
#2E87B2
secondary
#C69076
accent
#7946E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2E87B2

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

Preview Lab → · Contrast checker → · Palette generator →

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