#2B87B3#2B87B3

#2B87B3 is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 59.0% C 0.107 H 234.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2B87B3
RGBrgb(43, 135, 179)
HSLhsl(199, 61%, 44%)
HSVhsv(199, 76%, 70%)
CMYKcmyk(76%, 24.6%, 0%, 29.8%)
CIE-LABlab(53.05, -11.61, -30.77)
CIE-LCHlch(53.05, 32.88, 249.33°)
OKLaboklab(59.01% -0.0631 -0.0867)
OKLCHoklch(59.01% 0.107 234)
XYZxyz(17.7937, 21.0941, 45.7729)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87B3 #B3572B
analogous
#2BB39B #2B87B3 #2B43B3
triadic
#2B87B3 #B32B87 #87B32B
tetradic
#2B87B3 #9B2BB3 #B3572B #43B32B
square
#2B87B3 #9B2BB3 #B3572B #43B32B
split-complementary
#2B87B3 #B32B43 #B39B2B
monochromatic
#133D50 #1F6282 #2B87B3 #48A6D3 #79BEDF

Accessibility & contrast

On white

4.02
#2B87B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#2B87B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87B3
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87B3#FFFFFF#000000##000000
##2B87B31.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7186B5
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2b87b3;
/* rgb */ color: rgb(43, 135, 179);
/* oklch */ color: oklch(59.0% 0.107 234.0);
Tailwind
colors: {
  custom: {
    50: '#78aaca',
    500: '#2b87b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b87b3;
$custom-light: #78aaca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87b3",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 199.412,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.59007,
    "c": 0.10721,
    "h": 234
  },
  "luminance": 0.21096
}

Semantic roles & 50–950 ramp

primary
#2B87B3
secondary
#C78E73
accent
#7743E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2B87B3

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

Preview Lab → · Contrast checker → · Palette generator →

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