#2888AC#2888AC

#2888AC is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.8% C 0.102 H 228.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2888AC
RGBrgb(40, 136, 172)
HSLhsl(196, 62%, 42%)
HSVhsv(196, 77%, 67%)
CMYKcmyk(76.7%, 20.9%, 0%, 32.5%)
CIE-LABlab(52.99, -14.98, -26.85)
CIE-LCHlch(52.99, 30.74, 240.85°)
OKLaboklab(58.84% -0.068 -0.0754)
OKLCHoklch(58.84% 0.102 228)
XYZxyz(17.1226, 21.0359, 42.1796)
Luminance0.2104 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2888AC #AC4C28
analogous
#28AC8E #2888AC #2846AC
triadic
#2888AC #AC2888 #88AC28
tetradic
#2888AC #8E28AC #AC4C28 #46AC28
square
#2888AC #8E28AC #AC4C28 #46AC28
split-complementary
#2888AC #AC2846 #AC8E28
monochromatic
#113949 #1C617A #2888AC #3FAAD2 #71C0DE

Accessibility & contrast

On white

4.03
#2888AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#2888AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2888AC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2888AC#FFFFFF#000000##000000
##2888AC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7586AE
Deuteranopia (green-blind)
#6379AC
Tritanopia (blue-blind)
#009294
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2888ac;
/* rgb */ color: rgb(40, 136, 172);
/* oklch */ color: oklch(58.8% 0.102 228.0);
Tailwind
colors: {
  custom: {
    50: '#76aac5',
    500: '#2888ac',
    950: '#000000',
  },
}
SCSS
$custom: #2888ac;
$custom-light: #76aac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2888ac",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 172
  },
  "hsl": {
    "h": 196.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.10153,
    "h": 228
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#2888AC
secondary
#C5836B
accent
#6F42E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2888AC

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

Preview Lab → · Contrast checker → · Palette generator →

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