#2888A8#2888A8

#2888A8 is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 58.7% C 0.098 H 225.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2888A8
RGBrgb(40, 136, 168)
HSLhsl(195, 62%, 41%)
HSVhsv(195, 76%, 66%)
CMYKcmyk(76.2%, 19%, 0%, 34.1%)
CIE-LABlab(52.82, -16.36, -24.80)
CIE-LCHlch(52.82, 29.71, 236.59°)
OKLaboklab(58.65% -0.0695 -0.0695)
OKLCHoklch(58.65% 0.098 225)
XYZxyz(16.7442, 20.8846, 40.1868)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2888A8 #A84828
analogous
#28A888 #2888A8 #2848A8
triadic
#2888A8 #A82888 #88A828
tetradic
#2888A8 #8828A8 #A84828 #48A828
square
#2888A8 #8828A8 #A84828 #48A828
split-complementary
#2888A8 #A82848 #A88828
monochromatic
#103845 #1C6077 #2888A8 #3DACD1 #6EC1DC

Accessibility & contrast

On white

4.06
#2888A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#2888A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2888A8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2888A8#FFFFFF#000000##000000
##2888A81.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7685AA
Deuteranopia (green-blind)
#6579A8
Tritanopia (blue-blind)
#009292
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2888a8;
/* rgb */ color: rgb(40, 136, 168);
/* oklch */ color: oklch(58.7% 0.098 225.0);
Tailwind
colors: {
  custom: {
    50: '#76aac2',
    500: '#2888a8',
    950: '#000000',
  },
}
SCSS
$custom: #2888a8;
$custom-light: #76aac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2888a8",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 168
  },
  "hsl": {
    "h": 195,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5865,
    "c": 0.09831,
    "h": 225
  },
  "luminance": 0.20887
}

Semantic roles & 50–950 ramp

primary
#2888A8
secondary
#C37F69
accent
#6C43E5
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2888A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2888A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva