#2B87C6#2B87C6

#2B87C6 is a mid, vivid cyan. Relative luminance 0.219; OKLCH L 60.0% C 0.128 H 243.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2B87C6
RGBrgb(43, 135, 198)
HSLhsl(204, 64%, 47%)
HSVhsv(204, 78%, 78%)
CMYKcmyk(78.3%, 31.8%, 0%, 22.4%)
CIE-LABlab(53.94, -4.81, -40.23)
CIE-LCHlch(53.94, 40.51, 263.18°)
OKLaboklab(60% -0.0569 -0.1141)
OKLCHoklch(60% 0.128 243.5)
XYZxyz(19.8493, 21.9164, 56.5993)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87C6 #C66A2B
analogous
#2BC6B7 #2B87C6 #2B3AC6
triadic
#2B87C6 #C62B87 #87C62B
tetradic
#2B87C6 #B72BC6 #C66A2B #3AC62B
square
#2B87C6 #B72BC6 #C66A2B #3AC62B
split-complementary
#2B87C6 #C62B3A #C6B72B
monochromatic
#154261 #206594 #2B87C6 #54A4DA #87BFE5

Accessibility & contrast

On white

3.90
#2B87C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#2B87C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87C6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87C6#FFFFFF#000000##000000
##2B87C61.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A89C9
Deuteranopia (green-blind)
#547BC5
Tritanopia (blue-blind)
#00969D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #2b87c6;
/* rgb */ color: rgb(43, 135, 198);
/* oklch */ color: oklch(60.0% 0.128 243.5);
Tailwind
colors: {
  custom: {
    50: '#7ca9d7',
    500: '#2b87c6',
    950: '#000000',
  },
}
SCSS
$custom: #2b87c6;
$custom-light: #7ca9d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87c6",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 198
  },
  "hsl": {
    "h": 204.387,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.60001,
    "c": 0.12754,
    "h": 243.5
  },
  "luminance": 0.21919
}

Semantic roles & 50–950 ramp

primary
#2B87C6
secondary
#CE9F7F
accent
#8440E7
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #2B87C6

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

Preview Lab → · Contrast checker → · Palette generator →

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