#2787AE#2787AE

#2787AE is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.7% C 0.104 H 230.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2787AE
RGBrgb(39, 135, 174)
HSLhsl(197, 63%, 42%)
HSVhsv(197, 78%, 68%)
CMYKcmyk(77.6%, 22.4%, 0%, 31.8%)
CIE-LABlab(52.74, -13.84, -28.38)
CIE-LCHlch(52.74, 31.58, 244.00°)
OKLaboklab(58.66% -0.0667 -0.0798)
OKLCHoklch(58.66% 0.104 230.1)
XYZxyz(17.1375, 20.8132, 43.1503)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2787AE #AE4E27
analogous
#27AE92 #2787AE #2744AE
triadic
#2787AE #AE2787 #87AE27
tetradic
#2787AE #9227AE #AE4E27 #44AE27
square
#2787AE #9227AE #AE4E27 #44AE27
split-complementary
#2787AE #AE2744 #AE9227
monochromatic
#11394A #1C607C #2787AE #3EA9D4 #70BFDF

Accessibility & contrast

On white

4.07
#2787AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2787AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2787AE#FFFFFF#000000##000000
##2787AE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7385B0
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2787ae;
/* rgb */ color: rgb(39, 135, 174);
/* oklch */ color: oklch(58.7% 0.104 230.1);
Tailwind
colors: {
  custom: {
    50: '#76aac6',
    500: '#2787ae',
    950: '#000000',
  },
}
SCSS
$custom: #2787ae;
$custom-light: #76aac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2787ae",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 174
  },
  "hsl": {
    "h": 197.333,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58664,
    "c": 0.10402,
    "h": 230.1
  },
  "luminance": 0.20815
}

Semantic roles & 50–950 ramp

primary
#2787AE
secondary
#C6856B
accent
#7141E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2787AE

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

Preview Lab → · Contrast checker → · Palette generator →

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