#2787A7#2787A7

#2787A7 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.098 H 225.1°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2787A7
RGBrgb(39, 135, 167)
HSLhsl(195, 62%, 40%)
HSVhsv(195, 77%, 65%)
CMYKcmyk(76.6%, 19.2%, 0%, 34.5%)
CIE-LABlab(52.45, -16.27, -24.80)
CIE-LCHlch(52.45, 29.67, 236.73°)
OKLaboklab(58.33% -0.0693 -0.0695)
OKLCHoklch(58.33% 0.098 225.1)
XYZxyz(16.4728, 20.5473, 39.6496)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2787A7 #A74727
analogous
#27A787 #2787A7 #2747A7
triadic
#2787A7 #A72787 #87A727
tetradic
#2787A7 #8727A7 #A74727 #47A727
square
#2787A7 #8727A7 #A74727 #47A727
split-complementary
#2787A7 #A72747 #A78727
monochromatic
#103744 #1B5F75 #2787A7 #3AABD1 #6CC0DD

Accessibility & contrast

On white

4.11
#2787A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#2787A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2787A7#FFFFFF#000000##000000
##2787A71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7584A9
Deuteranopia (green-blind)
#6478A7
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2787a7;
/* rgb */ color: rgb(39, 135, 167);
/* oklch */ color: oklch(58.3% 0.098 225.1);
Tailwind
colors: {
  custom: {
    50: '#75aac1',
    500: '#2787a7',
    950: '#000000',
  },
}
SCSS
$custom: #2787a7;
$custom-light: #75aac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2787a7",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 167
  },
  "hsl": {
    "h": 195,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58331,
    "c": 0.0982,
    "h": 225.1
  },
  "luminance": 0.20549
}

Semantic roles & 50–950 ramp

primary
#2787A7
secondary
#C37E67
accent
#6B43E5
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2787A7

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

Preview Lab → · Contrast checker → · Palette generator →

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