#2787A4#2787A4

#2787A4 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.2% C 0.096 H 222.7°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#2787A4
RGBrgb(39, 135, 164)
HSLhsl(194, 62%, 40%)
HSVhsv(194, 76%, 64%)
CMYKcmyk(76.2%, 17.7%, 0%, 35.7%)
CIE-LABlab(52.33, -17.30, -23.26)
CIE-LCHlch(52.33, 28.99, 233.35°)
OKLaboklab(58.19% -0.0705 -0.0651)
OKLCHoklch(58.19% 0.096 222.7)
XYZxyz(16.1987, 20.4377, 38.2059)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2787A4 #A44427
analogous
#27A483 #2787A4 #2749A4
triadic
#2787A4 #A42787 #87A427
tetradic
#2787A4 #8327A4 #A44427 #49A427
square
#2787A4 #8327A4 #A44427 #49A427
split-complementary
#2787A4 #A42749 #A48327
monochromatic
#0F3641 #1B5E73 #2787A4 #38ADD0 #6AC1DC

Accessibility & contrast

On white

4.13
#2787A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#2787A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2787A4#FFFFFF#000000##000000
##2787A41.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A6
Deuteranopia (green-blind)
#6578A4
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2787a4;
/* rgb */ color: rgb(39, 135, 164);
/* oklch */ color: oklch(58.2% 0.096 222.7);
Tailwind
colors: {
  custom: {
    50: '#75aabf',
    500: '#2787a4',
    950: '#000000',
  },
}
SCSS
$custom: #2787a4;
$custom-light: #75aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2787a4",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 164
  },
  "hsl": {
    "h": 193.92,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58193,
    "c": 0.09597,
    "h": 222.7
  },
  "luminance": 0.2044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2787A4

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

Preview Lab → · Contrast checker → · Palette generator →

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