#2E87BF#2E87BF

#2E87BF is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.7% C 0.119 H 241.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2E87BF
RGBrgb(46, 135, 191)
HSLhsl(203, 61%, 46%)
HSVhsv(203, 76%, 75%)
CMYKcmyk(75.9%, 29.3%, 0%, 25.1%)
CIE-LABlab(53.67, -6.99, -36.66)
CIE-LCHlch(53.67, 37.31, 259.21°)
OKLaboklab(59.7% -0.0576 -0.1037)
OKLCHoklch(59.7% 0.119 241)
XYZxyz(19.1910, 21.6681, 52.4510)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E87BF #BF662E
analogous
#2EBFAF #2E87BF #2E3FBF
triadic
#2E87BF #BF2E87 #87BF2E
tetradic
#2E87BF #AF2EBF #BF662E #3FBF2E
square
#2E87BF #AF2EBF #BF662E #3FBF2E
split-complementary
#2E87BF #BF2E3F #BFAF2E
monochromatic
#16415C #22648E #2E87BF #54A4D6 #86BEE2

Accessibility & contrast

On white

3.94
#2E87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#2E87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E87BF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E87BF#FFFFFF#000000##000000
##2E87BF1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D88C1
Deuteranopia (green-blind)
#597ABE
Tritanopia (blue-blind)
#00959B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2e87bf;
/* rgb */ color: rgb(46, 135, 191);
/* oklch */ color: oklch(59.7% 0.119 241.0);
Tailwind
colors: {
  custom: {
    50: '#7ba9d2',
    500: '#2e87bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e87bf;
$custom-light: #7ba9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e87bf",
  "rgb": {
    "r": 46,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 203.172,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.59701,
    "c": 0.11865,
    "h": 241
  },
  "luminance": 0.2167
}

Semantic roles & 50–950 ramp

primary
#2E87BF
secondary
#CB9C7E
accent
#8244E4
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2E87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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