#2788B2#2788B2

#2788B2 is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.1% C 0.107 H 231.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2788B2
RGBrgb(39, 136, 178)
HSLhsl(198, 64%, 43%)
HSVhsv(198, 78%, 70%)
CMYKcmyk(78.1%, 23.6%, 0%, 30.2%)
CIE-LABlab(53.22, -12.99, -29.93)
CIE-LCHlch(53.22, 32.63, 246.53°)
OKLaboklab(59.1% -0.0662 -0.0843)
OKLCHoklch(59.1% 0.107 231.8)
XYZxyz(17.6735, 21.2519, 45.2814)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2788B2 #B25127
analogous
#27B296 #2788B2 #2743B2
triadic
#2788B2 #B22788 #88B227
tetradic
#2788B2 #9627B2 #B25127 #43B227
square
#2788B2 #9627B2 #B25127 #43B227
split-complementary
#2788B2 #B22743 #B29627
monochromatic
#113B4E #1C6280 #2788B2 #41A8D5 #73BFE0

Accessibility & contrast

On white

4.00
#2788B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#2788B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2788B2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2788B2#FFFFFF#000000##000000
##2788B21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7386B4
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2788b2;
/* rgb */ color: rgb(39, 136, 178);
/* oklch */ color: oklch(59.1% 0.107 231.8);
Tailwind
colors: {
  custom: {
    50: '#77aac9',
    500: '#2788b2',
    950: '#000000',
  },
}
SCSS
$custom: #2788b2;
$custom-light: #77aac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2788b2",
  "rgb": {
    "r": 39,
    "g": 136,
    "b": 178
  },
  "hsl": {
    "h": 198.129,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59104,
    "c": 0.10718,
    "h": 231.8
  },
  "luminance": 0.21254
}

Semantic roles & 50–950 ramp

primary
#2788B2
secondary
#C8896D
accent
#7341E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2788B2

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

Preview Lab → · Contrast checker → · Palette generator →

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