#2787AA#2787AA

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

Color values

HEX#2787AA
RGBrgb(39, 135, 170)
HSLhsl(196, 63%, 41%)
HSVhsv(196, 77%, 67%)
CMYKcmyk(77.1%, 20.6%, 0%, 33.3%)
CIE-LABlab(52.57, -15.24, -26.34)
CIE-LCHlch(52.57, 30.43, 239.95°)
OKLaboklab(58.47% -0.0682 -0.0739)
OKLCHoklch(58.47% 0.101 227.3)
XYZxyz(16.7534, 20.6595, 41.1271)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2787AA #AA4A27
analogous
#27AA8B #2787AA #2745AA
triadic
#2787AA #AA2787 #87AA27
tetradic
#2787AA #8B27AA #AA4A27 #45AA27
square
#2787AA #8B27AA #AA4A27 #45AA27
split-complementary
#2787AA #AA2745 #AA8B27
monochromatic
#103846 #1C5F78 #2787AA #3CAAD2 #6EC0DE

Accessibility & contrast

On white

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

On black

5.13
#2787AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2787AA#FFFFFF#000000##000000
##2787AA1.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)
#7485AC
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2787aa;
/* rgb */ color: rgb(39, 135, 170);
/* oklch */ color: oklch(58.5% 0.101 227.3);
Tailwind
colors: {
  custom: {
    50: '#75aac3',
    500: '#2787aa',
    950: '#000000',
  },
}
SCSS
$custom: #2787aa;
$custom-light: #75aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2787aa",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 196.031,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.10059,
    "h": 227.3
  },
  "luminance": 0.20662
}

Semantic roles & 50–950 ramp

primary
#2787AA
secondary
#C48169
accent
#6E42E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2787AA

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

Preview Lab → · Contrast checker → · Palette generator →

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