#2888AD#2888AD

#2888AD is a mid, moderate cyan. Relative luminance 0.211; OKLCH L 58.9% C 0.102 H 228.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2888AD
RGBrgb(40, 136, 173)
HSLhsl(197, 62%, 42%)
HSVhsv(197, 77%, 68%)
CMYKcmyk(76.9%, 21.4%, 0%, 32.2%)
CIE-LABlab(53.03, -14.63, -27.36)
CIE-LCHlch(53.03, 31.03, 241.87°)
OKLaboklab(58.89% -0.0676 -0.0769)
OKLCHoklch(58.89% 0.102 228.7)
XYZxyz(17.2190, 21.0745, 42.6873)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2888AD #AD4D28
analogous
#28AD90 #2888AD #2846AD
triadic
#2888AD #AD2888 #88AD28
tetradic
#2888AD #9028AD #AD4D28 #46AD28
square
#2888AD #9028AD #AD4D28 #46AD28
split-complementary
#2888AD #AD2846 #AD9028
monochromatic
#113A4A #1D617B #2888AD #3FAAD3 #71C0DE

Accessibility & contrast

On white

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

On black

5.22
#2888AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2888AD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2888AD#FFFFFF#000000##000000
##2888AD1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2888ad;
/* rgb */ color: rgb(40, 136, 173);
/* oklch */ color: oklch(58.9% 0.102 228.7);
Tailwind
colors: {
  custom: {
    50: '#76aac5',
    500: '#2888ad',
    950: '#000000',
  },
}
SCSS
$custom: #2888ad;
$custom-light: #76aac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2888ad",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 173
  },
  "hsl": {
    "h": 196.692,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.58885,
    "c": 0.10236,
    "h": 228.7
  },
  "luminance": 0.21077
}

Semantic roles & 50–950 ramp

primary
#2888AD
secondary
#C5856C
accent
#7042E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2888AD

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

Preview Lab → · Contrast checker → · Palette generator →

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