#2E87B0#2E87B0

#2E87B0 is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.9% C 0.103 H 232.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2E87B0
RGBrgb(46, 135, 176)
HSLhsl(199, 59%, 44%)
HSVhsv(199, 74%, 69%)
CMYKcmyk(73.9%, 23.3%, 0%, 31%)
CIE-LABlab(52.99, -12.27, -29.13)
CIE-LCHlch(52.99, 31.61, 247.15°)
OKLaboklab(58.94% -0.0627 -0.0819)
OKLCHoklch(58.94% 0.103 232.6)
XYZxyz(17.6240, 21.0413, 44.1984)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87B0 #B0572E
analogous
#2EB098 #2E87B0 #2E46B0
triadic
#2E87B0 #B02E87 #87B02E
tetradic
#2E87B0 #982EB0 #B0572E #46B02E
square
#2E87B0 #982EB0 #B0572E #46B02E
split-complementary
#2E87B0 #B02E46 #B0982E
monochromatic
#153D4F #21627F #2E87B0 #4BA6D0 #7CBEDD

Accessibility & contrast

On white

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

On black

5.21
#2E87B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87B0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87B0#FFFFFF#000000##000000
##2E87B01.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B2
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2e87b0;
/* rgb */ color: rgb(46, 135, 176);
/* oklch */ color: oklch(58.9% 0.103 232.6);
Tailwind
colors: {
  custom: {
    50: '#79aac7',
    500: '#2e87b0',
    950: '#000000',
  },
}
SCSS
$custom: #2e87b0;
$custom-light: #79aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87b0",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 176
  },
  "hsl": {
    "h": 198.923,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.58939,
    "c": 0.10315,
    "h": 232.6
  },
  "luminance": 0.21043
}

Semantic roles & 50–950 ramp

primary
#2E87B0
secondary
#C58E75
accent
#7746E2
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2E87B0

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

Preview Lab → · Contrast checker → · Palette generator →

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