#2888A2#2888A2

#2888A2 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.4% C 0.094 H 220.2°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2888A2
RGBrgb(40, 136, 162)
HSLhsl(193, 60%, 40%)
HSVhsv(193, 75%, 64%)
CMYKcmyk(75.3%, 16%, 0%, 36.5%)
CIE-LABlab(52.58, -18.40, -21.71)
CIE-LCHlch(52.58, 28.46, 229.72°)
OKLaboklab(58.38% -0.0719 -0.0607)
OKLCHoklch(58.38% 0.094 220.2)
XYZxyz(16.1981, 20.6661, 37.3107)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2888A2 #A24228
analogous
#28A27F #2888A2 #284BA2
triadic
#2888A2 #A22888 #88A228
tetradic
#2888A2 #7F28A2 #A24228 #4BA228
square
#2888A2 #7F28A2 #A24228 #4BA228
split-complementary
#2888A2 #A2284B #A27F28
monochromatic
#103640 #1C5F71 #2888A2 #39AECE #6AC2DA

Accessibility & contrast

On white

4.09
#2888A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#2888A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2888A2
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2888A2#FFFFFF#000000##000000
##2888A21.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2888a2;
/* rgb */ color: rgb(40, 136, 162);
/* oklch */ color: oklch(58.4% 0.094 220.2);
Tailwind
colors: {
  custom: {
    50: '#75aabd',
    500: '#2888a2',
    950: '#000000',
  },
}
SCSS
$custom: #2888a2;
$custom-light: #75aabd;
$custom-dark: #000000;
JSON
{
  "hex": "#2888a2",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 162
  },
  "hsl": {
    "h": 192.787,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.58377,
    "c": 0.09407,
    "h": 220.2
  },
  "luminance": 0.20668
}

Semantic roles & 50–950 ramp

primary
#2888A2
secondary
#C17965
accent
#6644E4
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2888A2

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

Preview Lab → · Contrast checker → · Palette generator →

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