#2B87A8#2B87A8

#2B87A8 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.097 H 226.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2B87A8
RGBrgb(43, 135, 168)
HSLhsl(196, 59%, 41%)
HSVhsv(196, 74%, 66%)
CMYKcmyk(74.4%, 19.6%, 0%, 34.1%)
CIE-LABlab(52.58, -15.43, -25.17)
CIE-LCHlch(52.58, 29.52, 238.49°)
OKLaboklab(58.48% -0.0671 -0.0705)
OKLCHoklch(58.48% 0.097 226.4)
XYZxyz(16.7252, 20.6667, 40.1458)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87A8 #A84C2B
analogous
#2BA88B #2B87A8 #2B49A8
triadic
#2B87A8 #A82B87 #87A82B
tetradic
#2B87A8 #8B2BA8 #A84C2B #49A82B
square
#2B87A8 #8B2BA8 #A84C2B #49A82B
split-complementary
#2B87A8 #A82B49 #A88B2B
monochromatic
#123947 #1F6077 #2B87A8 #42A9CF #72BFDB

Accessibility & contrast

On white

4.09
#2B87A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#2B87A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87A8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87A8#FFFFFF#000000##000000
##2B87A81.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584AA
Deuteranopia (green-blind)
#6478A8
Tritanopia (blue-blind)
#009192
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2b87a8;
/* rgb */ color: rgb(43, 135, 168);
/* oklch */ color: oklch(58.5% 0.097 226.4);
Tailwind
colors: {
  custom: {
    50: '#76aac2',
    500: '#2b87a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b87a8;
$custom-light: #76aac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87a8",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 168
  },
  "hsl": {
    "h": 195.84,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.09738,
    "h": 226.4
  },
  "luminance": 0.20669
}

Semantic roles & 50–950 ramp

primary
#2B87A8
secondary
#C2836C
accent
#6F45E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2B87A8

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

Preview Lab → · Contrast checker → · Palette generator →

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