#2786A8#2786A8

#2786A8 is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.1% C 0.099 H 226.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2786A8
RGBrgb(39, 134, 168)
HSLhsl(196, 62%, 41%)
HSVhsv(196, 77%, 66%)
CMYKcmyk(76.8%, 20.2%, 0%, 34.1%)
CIE-LABlab(52.18, -15.38, -25.79)
CIE-LCHlch(52.18, 30.03, 239.20°)
OKLaboklab(58.13% -0.068 -0.0724)
OKLCHoklch(58.13% 0.099 226.8)
XYZxyz(16.4268, 20.3067, 40.0920)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2786A8 #A84927
analogous
#27A889 #2786A8 #2745A8
triadic
#2786A8 #A82786 #86A827
tetradic
#2786A8 #8927A8 #A84927 #45A827
square
#2786A8 #8927A8 #A84927 #45A827
split-complementary
#2786A8 #A82745 #A88927
monochromatic
#103745 #1B5E76 #2786A8 #3BAAD1 #6CBFDD

Accessibility & contrast

On white

4.15
#2786A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2786A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2786A8
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2786A8#FFFFFF#000000##000000
##2786A81.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7483AA
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2786a8;
/* rgb */ color: rgb(39, 134, 168);
/* oklch */ color: oklch(58.1% 0.099 226.8);
Tailwind
colors: {
  custom: {
    50: '#75a9c2',
    500: '#2786a8',
    950: '#000000',
  },
}
SCSS
$custom: #2786a8;
$custom-light: #75a9c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2786a8",
  "rgb": {
    "r": 39,
    "g": 134,
    "b": 168
  },
  "hsl": {
    "h": 195.814,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5813,
    "c": 0.09928,
    "h": 226.8
  },
  "luminance": 0.20309
}

Semantic roles & 50–950 ramp

primary
#2786A8
secondary
#C38067
accent
#6D42E5
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2786A8

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

Preview Lab → · Contrast checker → · Palette generator →

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