#2786AB#2786AB

#2786AB is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.3% C 0.102 H 229.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2786AB
RGBrgb(39, 134, 171)
HSLhsl(197, 63%, 41%)
HSVhsv(197, 77%, 67%)
CMYKcmyk(77.2%, 21.6%, 0%, 32.9%)
CIE-LABlab(52.31, -14.33, -27.33)
CIE-LCHlch(52.31, 30.86, 242.32°)
OKLaboklab(58.27% -0.0668 -0.0768)
OKLCHoklch(58.27% 0.102 229)
XYZxyz(16.7095, 20.4198, 41.5809)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2786AB #AB4C27
analogous
#27AB8E #2786AB #2744AB
triadic
#2786AB #AB2786 #86AB27
tetradic
#2786AB #8E27AB #AB4C27 #44AB27
square
#2786AB #8E27AB #AB4C27 #44AB27
split-complementary
#2786AB #AB2744 #AB8E27
monochromatic
#103847 #1C5F79 #2786AB #3DA9D3 #6EBFDE

Accessibility & contrast

On white

4.13
#2786AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2786AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2786AB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2786AB#FFFFFF#000000##000000
##2786AB1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7384AD
Deuteranopia (green-blind)
#6177AA
Tritanopia (blue-blind)
#009092
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2786ab;
/* rgb */ color: rgb(39, 134, 171);
/* oklch */ color: oklch(58.3% 0.102 229.0);
Tailwind
colors: {
  custom: {
    50: '#76a9c4',
    500: '#2786ab',
    950: '#000000',
  },
}
SCSS
$custom: #2786ab;
$custom-light: #76a9c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2786ab",
  "rgb": {
    "r": 39,
    "g": 134,
    "b": 171
  },
  "hsl": {
    "h": 196.818,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58273,
    "c": 0.10181,
    "h": 229
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#2786AB
secondary
#C58369
accent
#7042E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2786AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2786AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva