#2787A3#2787A3

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

Color values

HEX#2787A3
RGBrgb(39, 135, 163)
HSLhsl(194, 61%, 40%)
HSVhsv(194, 76%, 64%)
CMYKcmyk(76.1%, 17.2%, 0%, 36.1%)
CIE-LABlab(52.29, -17.64, -22.74)
CIE-LCHlch(52.29, 28.78, 232.19°)
OKLaboklab(58.15% -0.0709 -0.0636)
OKLCHoklch(58.15% 0.095 221.9)
XYZxyz(16.1088, 20.4017, 37.7322)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2787A3 #A34327
analogous
#27A381 #2787A3 #2749A3
triadic
#2787A3 #A32787 #87A327
tetradic
#2787A3 #8127A3 #A34327 #49A327
square
#2787A3 #8127A3 #A34327 #49A327
split-complementary
#2787A3 #A32749 #A38127
monochromatic
#0F3540 #1B5E72 #2787A3 #38ADCF #69C1DB

Accessibility & contrast

On white

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

On black

5.08
#2787A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2787A3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2787A3#FFFFFF#000000##000000
##2787A31.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2787a3;
/* rgb */ color: rgb(39, 135, 163);
/* oklch */ color: oklch(58.1% 0.095 221.9);
Tailwind
colors: {
  custom: {
    50: '#74aabe',
    500: '#2787a3',
    950: '#000000',
  },
}
SCSS
$custom: #2787a3;
$custom-light: #74aabe;
$custom-dark: #000000;
JSON
{
  "hex": "#2787a3",
  "rgb": {
    "r": 39,
    "g": 135,
    "b": 163
  },
  "hsl": {
    "h": 193.548,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58148,
    "c": 0.09528,
    "h": 221.9
  },
  "luminance": 0.20404
}

Semantic roles & 50–950 ramp

primary
#2787A3
secondary
#C17964
accent
#6843E4
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091012
muted
#7B7F81

Preview Lab

Preview with #2787A3

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

Preview Lab → · Contrast checker → · Palette generator →

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