#2B87A3#2B87A3

#2B87A3 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.2% C 0.094 H 222.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2B87A3
RGBrgb(43, 135, 163)
HSLhsl(194, 58%, 40%)
HSVhsv(194, 74%, 64%)
CMYKcmyk(73.6%, 17.2%, 0%, 36.1%)
CIE-LABlab(52.38, -17.13, -22.59)
CIE-LCHlch(52.38, 28.35, 232.83°)
OKLaboklab(58.25% -0.0691 -0.0632)
OKLCHoklch(58.25% 0.094 222.5)
XYZxyz(16.2684, 20.4840, 37.7396)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87A3 #A3472B
analogous
#2BA383 #2B87A3 #2B4BA3
triadic
#2B87A3 #A32B87 #87A32B
tetradic
#2B87A3 #832BA3 #A3472B #4BA32B
square
#2B87A3 #832BA3 #A3472B #4BA32B
split-complementary
#2B87A3 #A32B4B #A3832B
monochromatic
#113742 #1E5F73 #2B87A3 #3FABCC #6FC0D9

Accessibility & contrast

On white

4.12
#2B87A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2B87A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87A3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87A3#FFFFFF#000000##000000
##2B87A31.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A4
Deuteranopia (green-blind)
#6678A3
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2b87a3;
/* rgb */ color: rgb(43, 135, 163);
/* oklch */ color: oklch(58.2% 0.094 222.5);
Tailwind
colors: {
  custom: {
    50: '#76aabe',
    500: '#2b87a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b87a3;
$custom-light: #76aabe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87a3",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 163
  },
  "hsl": {
    "h": 194,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.09362,
    "h": 222.5
  },
  "luminance": 0.20486
}

Semantic roles & 50–950 ramp

primary
#2B87A3
secondary
#C07E6A
accent
#6B46E1
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2B87A3

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

Preview Lab → · Contrast checker → · Palette generator →

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