#2787AB#2787AB

#2787AB is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.101 H 228.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2787AB
RGBrgb(39, 135, 171)
HSLhsl(196, 63%, 41%)
HSVhsv(196, 77%, 67%)
CMYKcmyk(77.2%, 21.1%, 0%, 32.9%)
CIE-LABlab(52.62, -14.89, -26.85)
CIE-LCHlch(52.62, 30.70, 240.99°)
OKLaboklab(58.52% -0.0678 -0.0754)
OKLCHoklch(58.52% 0.101 228)
XYZxyz(16.8483, 20.6975, 41.6272)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2787AB #AB4B27
analogous
#27AB8D #2787AB #2745AB
triadic
#2787AB #AB2787 #87AB27
tetradic
#2787AB #8D27AB #AB4B27 #45AB27
square
#2787AB #8D27AB #AB4B27 #45AB27
split-complementary
#2787AB #AB2745 #AB8D27
monochromatic
#103847 #1C6079 #2787AB #3DAAD3 #6EC0DE

Accessibility & contrast

On white

4.09
#2787AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2787AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2787AB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2787AB#FFFFFF#000000##000000
##2787AB1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7485AD
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2787ab;
/* rgb */ color: rgb(39, 135, 171);
/* oklch */ color: oklch(58.5% 0.101 228.0);
Tailwind
colors: {
  custom: {
    50: '#76aac4',
    500: '#2787ab',
    950: '#000000',
  },
}
SCSS
$custom: #2787ab;
$custom-light: #76aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2787ab",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 171
  },
  "hsl": {
    "h": 196.364,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58519,
    "c": 0.10142,
    "h": 228
  },
  "luminance": 0.207
}

Semantic roles & 50–950 ramp

primary
#2787AB
secondary
#C58269
accent
#6F42E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2787AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2787AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva