#2788AB#2788AB

#2788AB is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.8% C 0.101 H 227.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2788AB
RGBrgb(39, 136, 171)
HSLhsl(196, 63%, 41%)
HSVhsv(196, 77%, 67%)
CMYKcmyk(77.2%, 20.5%, 0%, 32.9%)
CIE-LABlab(52.93, -15.44, -26.37)
CIE-LCHlch(52.93, 30.56, 239.65°)
OKLaboklab(58.77% -0.0688 -0.074)
OKLCHoklch(58.77% 0.101 227.1)
XYZxyz(16.9885, 20.9779, 41.6740)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2788AB #AB4A27
analogous
#27AB8C #2788AB #2746AB
triadic
#2788AB #AB2788 #88AB27
tetradic
#2788AB #8C27AB #AB4A27 #46AB27
square
#2788AB #8C27AB #AB4A27 #46AB27
split-complementary
#2788AB #AB2746 #AB8C27
monochromatic
#103947 #1C6079 #2788AB #3DABD3 #6EC0DE

Accessibility & contrast

On white

4.04
#2788AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2788AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2788AB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2788AB#FFFFFF#000000##000000
##2788AB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7585AD
Deuteranopia (green-blind)
#6479AB
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2788ab;
/* rgb */ color: rgb(39, 136, 171);
/* oklch */ color: oklch(58.8% 0.101 227.1);
Tailwind
colors: {
  custom: {
    50: '#76aac4',
    500: '#2788ab',
    950: '#000000',
  },
}
SCSS
$custom: #2788ab;
$custom-light: #76aac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2788ab",
  "rgb": {
    "r": 39,
    "g": 136,
    "b": 171
  },
  "hsl": {
    "h": 195.909,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.10107,
    "h": 227.1
  },
  "luminance": 0.2098
}

Semantic roles & 50–950 ramp

primary
#2788AB
secondary
#C58169
accent
#6D42E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2788AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2788AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva