#2786B0#2786B0

#2786B0 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.5% C 0.106 H 232.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2786B0
RGBrgb(39, 134, 176)
HSLhsl(198, 64%, 42%)
HSVhsv(198, 78%, 69%)
CMYKcmyk(77.8%, 23.9%, 0%, 31%)
CIE-LABlab(52.52, -12.58, -29.87)
CIE-LCHlch(52.52, 32.41, 247.17°)
OKLaboklab(58.52% -0.065 -0.0841)
OKLCHoklch(58.52% 0.106 232.3)
XYZxyz(17.1951, 20.6140, 44.1385)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2786B0 #B05127
analogous
#27B096 #2786B0 #2742B0
triadic
#2786B0 #B02786 #86B027
tetradic
#2786B0 #9627B0 #B05127 #42B027
square
#2786B0 #9627B0 #B05127 #42B027
split-complementary
#2786B0 #B02742 #B09627
monochromatic
#113A4C #1C607E #2786B0 #40A7D5 #72BEE0

Accessibility & contrast

On white

4.10
#2786B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2786B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2786B0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2786B0#FFFFFF#000000##000000
##2786B01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7185B2
Deuteranopia (green-blind)
#5F78AF
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2786b0;
/* rgb */ color: rgb(39, 134, 176);
/* oklch */ color: oklch(58.5% 0.106 232.3);
Tailwind
colors: {
  custom: {
    50: '#76a9c7',
    500: '#2786b0',
    950: '#000000',
  },
}
SCSS
$custom: #2786b0;
$custom-light: #76a9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2786b0",
  "rgb": {
    "r": 39,
    "g": 134,
    "b": 176
  },
  "hsl": {
    "h": 198.394,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.10631,
    "h": 232.3
  },
  "luminance": 0.20616
}

Semantic roles & 50–950 ramp

primary
#2786B0
secondary
#C7886C
accent
#7441E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2786B0

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

Preview Lab → · Contrast checker → · Palette generator →

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