#2787A2#2787A2

#2787A2 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.1% C 0.095 H 221.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2787A2
RGBrgb(39, 135, 162)
HSLhsl(193, 61%, 39%)
HSVhsv(193, 76%, 64%)
CMYKcmyk(75.9%, 16.7%, 0%, 36.5%)
CIE-LABlab(52.25, -17.99, -22.22)
CIE-LCHlch(52.25, 28.59, 231.02°)
OKLaboklab(58.1% -0.0713 -0.0622)
OKLCHoklch(58.1% 0.095 221.1)
XYZxyz(16.0195, 20.3660, 37.2622)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2787A2 #A24227
analogous
#27A280 #2787A2 #2749A2
triadic
#2787A2 #A22787 #87A227
tetradic
#2787A2 #8027A2 #A24227 #49A227
square
#2787A2 #8027A2 #A24227 #49A227
split-complementary
#2787A2 #A22749 #A28027
monochromatic
#0F353F #1B5E71 #2787A2 #37AECF #69C2DB

Accessibility & contrast

On white

4.14
#2787A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2787A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2787A2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2787A2#FFFFFF#000000##000000
##2787A21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7783A3
Deuteranopia (green-blind)
#6677A2
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2787a2;
/* rgb */ color: rgb(39, 135, 162);
/* oklch */ color: oklch(58.1% 0.095 221.1);
Tailwind
colors: {
  custom: {
    50: '#74aabd',
    500: '#2787a2',
    950: '#000000',
  },
}
SCSS
$custom: #2787a2;
$custom-light: #74aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#2787a2",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 162
  },
  "hsl": {
    "h": 193.171,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.58102,
    "c": 0.0946,
    "h": 221.1
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#2787A2
secondary
#C17864
accent
#6743E4
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #2787A2

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

Preview Lab → · Contrast checker → · Palette generator →

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