#2787A5#2787A5

#2787A5 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.2% C 0.097 H 223.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2787A5
RGBrgb(39, 135, 165)
HSLhsl(194, 62%, 40%)
HSVhsv(194, 76%, 65%)
CMYKcmyk(76.4%, 18.2%, 0%, 35.3%)
CIE-LABlab(52.37, -16.96, -23.77)
CIE-LCHlch(52.37, 29.20, 234.49°)
OKLaboklab(58.24% -0.0701 -0.0666)
OKLCHoklch(58.24% 0.097 223.5)
XYZxyz(16.2894, 20.4739, 38.6834)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2787A5 #A54527
analogous
#27A584 #2787A5 #2748A5
triadic
#2787A5 #A52787 #87A527
tetradic
#2787A5 #8427A5 #A54527 #48A527
square
#2787A5 #8427A5 #A54527 #48A527
split-complementary
#2787A5 #A52748 #A58427
monochromatic
#103642 #1B5E74 #2787A5 #39ACD0 #6AC1DC

Accessibility & contrast

On white

4.12
#2787A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2787A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2787A5#FFFFFF#000000##000000
##2787A51.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A7
Deuteranopia (green-blind)
#6578A5
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2787a5;
/* rgb */ color: rgb(39, 135, 165);
/* oklch */ color: oklch(58.2% 0.097 223.5);
Tailwind
colors: {
  custom: {
    50: '#75aabf',
    500: '#2787a5',
    950: '#000000',
  },
}
SCSS
$custom: #2787a5;
$custom-light: #75aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2787a5",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 165
  },
  "hsl": {
    "h": 194.286,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.58239,
    "c": 0.0967,
    "h": 223.5
  },
  "luminance": 0.20476
}

Semantic roles & 50–950 ramp

primary
#2787A5
secondary
#C27C66
accent
#6943E5
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2787A5

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

Preview Lab → · Contrast checker → · Palette generator →

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