#2786AD#2786AD

#2786AD is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.4% C 0.104 H 230.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2786AD
RGBrgb(39, 134, 173)
HSLhsl(197, 63%, 42%)
HSVhsv(197, 77%, 68%)
CMYKcmyk(77.5%, 22.5%, 0%, 32.2%)
CIE-LABlab(52.39, -13.63, -28.35)
CIE-LCHlch(52.39, 31.46, 244.32°)
OKLaboklab(58.37% -0.0661 -0.0797)
OKLCHoklch(58.37% 0.104 230.3)
XYZxyz(16.9016, 20.4966, 42.5925)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2786AD #AD4E27
analogous
#27AD91 #2786AD #2743AD
triadic
#2786AD #AD2786 #86AD27
tetradic
#2786AD #9127AD #AD4E27 #43AD27
square
#2786AD #9127AD #AD4E27 #43AD27
split-complementary
#2786AD #AD2743 #AD9127
monochromatic
#103949 #1C5F7B #2786AD #3EA8D3 #70BEDF

Accessibility & contrast

On white

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

On black

5.10
#2786AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2786AD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2786AD#FFFFFF#000000##000000
##2786AD1.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)
#7284AF
Deuteranopia (green-blind)
#6077AC
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2786ad;
/* rgb */ color: rgb(39, 134, 173);
/* oklch */ color: oklch(58.4% 0.104 230.3);
Tailwind
colors: {
  custom: {
    50: '#76a9c5',
    500: '#2786ad',
    950: '#000000',
  },
}
SCSS
$custom: #2786ad;
$custom-light: #76a9c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2786ad",
  "rgb": {
    "r": 39,
    "g": 134,
    "b": 173
  },
  "hsl": {
    "h": 197.463,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5837,
    "c": 0.10356,
    "h": 230.3
  },
  "luminance": 0.20499
}

Semantic roles & 50–950 ramp

primary
#2786AD
secondary
#C6856A
accent
#7142E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2786AD

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

Preview Lab → · Contrast checker → · Palette generator →

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