#2888B0#2888B0

#2888B0 is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.0% C 0.105 H 230.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#2888B0
RGBrgb(40, 136, 176)
HSLhsl(198, 63%, 42%)
HSVhsv(198, 77%, 69%)
CMYKcmyk(77.3%, 22.7%, 0%, 31%)
CIE-LABlab(53.16, -13.58, -28.88)
CIE-LCHlch(53.16, 31.92, 244.82°)
OKLaboklab(59.03% -0.0665 -0.0812)
OKLCHoklch(59.03% 0.105 230.7)
XYZxyz(17.5125, 21.1919, 44.2333)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2888B0 #B05028
analogous
#28B094 #2888B0 #2844B0
triadic
#2888B0 #B02888 #88B028
tetradic
#2888B0 #9428B0 #B05028 #44B028
square
#2888B0 #9428B0 #B05028 #44B028
split-complementary
#2888B0 #B02844 #B09428
monochromatic
#113B4C #1D617E #2888B0 #41A9D4 #73BFDF

Accessibility & contrast

On white

4.01
#2888B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#2888B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2888B0
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2888B0#FFFFFF#000000##000000
##2888B01.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7486B2
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#009395
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2888b0;
/* rgb */ color: rgb(40, 136, 176);
/* oklch */ color: oklch(59.0% 0.105 230.7);
Tailwind
colors: {
  custom: {
    50: '#77aac7',
    500: '#2888b0',
    950: '#000000',
  },
}
SCSS
$custom: #2888b0;
$custom-light: #77aac7;
$custom-dark: #000000;
JSON
{
  "hex": "#2888b0",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 176
  },
  "hsl": {
    "h": 197.647,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.10499,
    "h": 230.7
  },
  "luminance": 0.21194
}

Semantic roles & 50–950 ramp

primary
#2888B0
secondary
#C6886D
accent
#7242E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2888B0

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

Preview Lab → · Contrast checker → · Palette generator →

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