#2B87C2#2B87C2

#2B87C2 is a mid, vivid cyan. Relative luminance 0.217; OKLCH L 59.8% C 0.123 H 241.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#2B87C2
RGBrgb(43, 135, 194)
HSLhsl(203, 64%, 46%)
HSVhsv(203, 78%, 76%)
CMYKcmyk(77.8%, 30.4%, 0%, 23.9%)
CIE-LABlab(53.74, -6.26, -38.26)
CIE-LCHlch(53.74, 38.77, 260.71°)
OKLaboklab(59.78% -0.0581 -0.1084)
OKLCHoklch(59.78% 0.123 241.8)
XYZxyz(19.3940, 21.7342, 54.2015)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87C2 #C2662B
analogous
#2BC2B2 #2B87C2 #2B3BC2
triadic
#2B87C2 #C22B87 #87C22B
tetradic
#2B87C2 #B22BC2 #C2662B #3BC22B
square
#2B87C2 #B22BC2 #C2662B #3BC22B
split-complementary
#2B87C2 #C22B3B #C2B22B
monochromatic
#15415E #206490 #2B87C2 #52A4D9 #84BEE4

Accessibility & contrast

On white

3.93
#2B87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#2B87C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87C2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87C2#FFFFFF#000000##000000
##2B87C21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B88C5
Deuteranopia (green-blind)
#577AC1
Tritanopia (blue-blind)
#00969C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2b87c2;
/* rgb */ color: rgb(43, 135, 194);
/* oklch */ color: oklch(59.8% 0.123 241.8);
Tailwind
colors: {
  custom: {
    50: '#7ba9d4',
    500: '#2b87c2',
    950: '#000000',
  },
}
SCSS
$custom: #2b87c2;
$custom-light: #7ba9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87c2",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 203.444,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.59784,
    "c": 0.123,
    "h": 241.8
  },
  "luminance": 0.21737
}

Semantic roles & 50–950 ramp

primary
#2B87C2
secondary
#CD9C7C
accent
#8241E7
background
#F8FAFD
surface
#EFF4FA
border
#CACED3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #2B87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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