#2E87B3#2E87B3

#2E87B3 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.106 H 234.5°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#2E87B3
RGBrgb(46, 135, 179)
HSLhsl(200, 59%, 44%)
HSVhsv(200, 74%, 70%)
CMYKcmyk(74.3%, 24.6%, 0%, 29.8%)
CIE-LABlab(53.13, -11.23, -30.65)
CIE-LCHlch(53.13, 32.64, 249.88°)
OKLaboklab(59.09% -0.0616 -0.0863)
OKLCHoklch(59.09% 0.106 234.5)
XYZxyz(17.9241, 21.1614, 45.7790)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87B3 #B35A2E
analogous
#2EB39D #2E87B3 #2E44B3
triadic
#2E87B3 #B32E87 #87B32E
tetradic
#2E87B3 #9D2EB3 #B35A2E #44B32E
square
#2E87B3 #9D2EB3 #B35A2E #44B32E
split-complementary
#2E87B3 #B32E44 #B39D2E
monochromatic
#153E52 #216282 #2E87B3 #4DA5D1 #7EBEDE

Accessibility & contrast

On white

4.01
#2E87B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#2E87B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87B3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87B3#FFFFFF#000000##000000
##2E87B31.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7286B5
Deuteranopia (green-blind)
#6079B2
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2e87b3;
/* rgb */ color: rgb(46, 135, 179);
/* oklch */ color: oklch(59.1% 0.106 234.5);
Tailwind
colors: {
  custom: {
    50: '#79a9ca',
    500: '#2e87b3',
    950: '#000000',
  },
}
SCSS
$custom: #2e87b3;
$custom-light: #79a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87b3",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 199.85,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.10606,
    "h": 234.5
  },
  "luminance": 0.21163
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E87B3

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

Preview Lab → · Contrast checker → · Palette generator →

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