#2787B0#2787B0

#2787B0 is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.8% C 0.106 H 231.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2787B0
RGBrgb(39, 135, 176)
HSLhsl(198, 64%, 42%)
HSVhsv(198, 78%, 69%)
CMYKcmyk(77.8%, 23.3%, 0%, 31%)
CIE-LABlab(52.83, -13.14, -29.40)
CIE-LCHlch(52.83, 32.20, 245.92°)
OKLaboklab(58.76% -0.066 -0.0827)
OKLCHoklch(58.76% 0.106 231.4)
XYZxyz(17.3340, 20.8918, 44.1848)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2787B0 #B05027
analogous
#27B095 #2787B0 #2743B0
triadic
#2787B0 #B02787 #87B027
tetradic
#2787B0 #9527B0 #B05027 #43B027
square
#2787B0 #9527B0 #B05027 #43B027
split-complementary
#2787B0 #B02743 #B09527
monochromatic
#113A4C #1C617E #2787B0 #40A8D5 #72BFE0

Accessibility & contrast

On white

4.05
#2787B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2787B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2787B0#FFFFFF#000000##000000
##2787B01.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7285B2
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#009295
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2787b0;
/* rgb */ color: rgb(39, 135, 176);
/* oklch */ color: oklch(58.8% 0.106 231.4);
Tailwind
colors: {
  custom: {
    50: '#76aac7',
    500: '#2787b0',
    950: '#000000',
  },
}
SCSS
$custom: #2787b0;
$custom-light: #76aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2787b0",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 176
  },
  "hsl": {
    "h": 197.956,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.10582,
    "h": 231.4
  },
  "luminance": 0.20894
}

Semantic roles & 50–950 ramp

primary
#2787B0
secondary
#C7876C
accent
#7341E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2787B0

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

Preview Lab → · Contrast checker → · Palette generator →

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