#2786B1#2786B1

#2786B1 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.6% C 0.107 H 232.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2786B1
RGBrgb(39, 134, 177)
HSLhsl(199, 64%, 42%)
HSVhsv(199, 78%, 69%)
CMYKcmyk(78%, 24.3%, 0%, 30.6%)
CIE-LABlab(52.57, -12.22, -30.38)
CIE-LCHlch(52.57, 32.75, 248.08°)
OKLaboklab(58.57% -0.0646 -0.0856)
OKLCHoklch(58.57% 0.107 232.9)
XYZxyz(17.2944, 20.6538, 44.6615)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2786B1 #B15227
analogous
#27B197 #2786B1 #2741B1
triadic
#2786B1 #B12786 #86B127
tetradic
#2786B1 #9727B1 #B15227 #41B127
square
#2786B1 #9727B1 #B15227 #41B127
split-complementary
#2786B1 #B12741 #B19727
monochromatic
#113A4D #1C607F #2786B1 #40A7D5 #72BEE0

Accessibility & contrast

On white

4.09
#2786B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#2786B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2786B1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2786B1#FFFFFF#000000##000000
##2786B11.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7185B3
Deuteranopia (green-blind)
#5E78B0
Tritanopia (blue-blind)
#009195
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2786b1;
/* rgb */ color: rgb(39, 134, 177);
/* oklch */ color: oklch(58.6% 0.107 232.9);
Tailwind
colors: {
  custom: {
    50: '#77a9c8',
    500: '#2786b1',
    950: '#000000',
  },
}
SCSS
$custom: #2786b1;
$custom-light: #77a9c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2786b1",
  "rgb": {
    "r": 39,
    "g": 134,
    "b": 177
  },
  "hsl": {
    "h": 198.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.58566,
    "c": 0.10726,
    "h": 232.9
  },
  "luminance": 0.20656
}

Semantic roles & 50–950 ramp

primary
#2786B1
secondary
#C7896D
accent
#7541E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2786B1

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

Preview Lab → · Contrast checker → · Palette generator →

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