#2B87AF#2B87AF

#2B87AF is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.103 H 231.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2B87AF
RGBrgb(43, 135, 175)
HSLhsl(198, 61%, 43%)
HSVhsv(198, 75%, 69%)
CMYKcmyk(75.4%, 22.9%, 0%, 31.4%)
CIE-LABlab(52.88, -13.01, -28.74)
CIE-LCHlch(52.88, 31.55, 245.65°)
OKLaboklab(58.81% -0.0645 -0.0808)
OKLCHoklch(58.81% 0.103 231.4)
XYZxyz(17.3950, 20.9346, 43.6731)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B87AF #AF532B
analogous
#2BAF95 #2B87AF #2B45AF
triadic
#2B87AF #AF2B87 #87AF2B
tetradic
#2B87AF #952BAF #AF532B #45AF2B
square
#2B87AF #952BAF #AF532B #45AF2B
split-complementary
#2B87AF #AF2B45 #AF952B
monochromatic
#133B4D #1F617E #2B87AF #46A7D1 #77BEDE

Accessibility & contrast

On white

4.05
#2B87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2B87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B87AF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B87AF#FFFFFF#000000##000000
##2B87AF1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B1
Deuteranopia (green-blind)
#6179AE
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2b87af;
/* rgb */ color: rgb(43, 135, 175);
/* oklch */ color: oklch(58.8% 0.103 231.4);
Tailwind
colors: {
  custom: {
    50: '#78aac7',
    500: '#2b87af',
    950: '#000000',
  },
}
SCSS
$custom: #2b87af;
$custom-light: #78aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b87af",
  "rgb": {
    "r": 43,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 198.182,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5881,
    "c": 0.10342,
    "h": 231.4
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#2B87AF
secondary
#C58A70
accent
#7444E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2B87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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