#2E87B1#2E87B1

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

Color values

HEX#2E87B1
RGBrgb(46, 135, 177)
HSLhsl(199, 59%, 44%)
HSVhsv(199, 74%, 69%)
CMYKcmyk(74%, 23.7%, 0%, 30.6%)
CIE-LABlab(53.04, -11.93, -29.64)
CIE-LCHlch(53.04, 31.95, 248.08°)
OKLaboklab(58.99% -0.0623 -0.0834)
OKLCHoklch(58.99% 0.104 233.2)
XYZxyz(17.7233, 21.0811, 44.7214)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87B1 #B1582E
analogous
#2EB199 #2E87B1 #2E45B1
triadic
#2E87B1 #B12E87 #87B12E
tetradic
#2E87B1 #992EB1 #B1582E #45B12E
square
#2E87B1 #992EB1 #B1582E #45B12E
split-complementary
#2E87B1 #B12E45 #B1992E
monochromatic
#153D50 #216280 #2E87B1 #4CA6D0 #7CBEDD

Accessibility & contrast

On white

4.03
#2E87B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E87B1#FFFFFF#000000##000000
##2E87B11.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B3
Deuteranopia (green-blind)
#6179B0
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2e87b1;
/* rgb */ color: rgb(46, 135, 177);
/* oklch */ color: oklch(59.0% 0.104 233.2);
Tailwind
colors: {
  custom: {
    50: '#79aac8',
    500: '#2e87b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e87b1;
$custom-light: #79aac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87b1",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 177
  },
  "hsl": {
    "h": 199.237,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.58988,
    "c": 0.10411,
    "h": 233.2
  },
  "luminance": 0.21083
}

Semantic roles & 50–950 ramp

primary
#2E87B1
secondary
#C68F75
accent
#7846E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2E87B1

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

Preview Lab → · Contrast checker → · Palette generator →

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