#2786AC#2786AC

#2786AC is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.103 H 229.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2786AC
RGBrgb(39, 134, 172)
HSLhsl(197, 63%, 41%)
HSVhsv(197, 77%, 67%)
CMYKcmyk(77.3%, 22.1%, 0%, 32.5%)
CIE-LABlab(52.35, -13.98, -27.84)
CIE-LCHlch(52.35, 31.15, 243.33°)
OKLaboklab(58.32% -0.0665 -0.0783)
OKLCHoklch(58.32% 0.103 229.7)
XYZxyz(16.8052, 20.4581, 42.0848)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2786AC #AC4D27
analogous
#27AC90 #2786AC #2744AC
triadic
#2786AC #AC2786 #86AC27
tetradic
#2786AC #9027AC #AC4D27 #44AC27
square
#2786AC #9027AC #AC4D27 #44AC27
split-complementary
#2786AC #AC2744 #AC9027
monochromatic
#103848 #1C5F7A #2786AC #3DA8D3 #6FBFDE

Accessibility & contrast

On white

4.12
#2786AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#2786AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2786AC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2786AC#FFFFFF#000000##000000
##2786AC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7284AE
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2786ac;
/* rgb */ color: rgb(39, 134, 172);
/* oklch */ color: oklch(58.3% 0.103 229.7);
Tailwind
colors: {
  custom: {
    50: '#76a9c5',
    500: '#2786ac',
    950: '#000000',
  },
}
SCSS
$custom: #2786ac;
$custom-light: #76a9c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2786ac",
  "rgb": {
    "r": 39,
    "g": 134,
    "b": 172
  },
  "hsl": {
    "h": 197.143,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58321,
    "c": 0.10268,
    "h": 229.7
  },
  "luminance": 0.2046
}

Semantic roles & 50–950 ramp

primary
#2786AC
secondary
#C5846A
accent
#7142E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2786AC

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

Preview Lab → · Contrast checker → · Palette generator →

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