#2888AA#2888AA

#2888AA is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 58.7% C 0.100 H 226.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2888AA
RGBrgb(40, 136, 170)
HSLhsl(196, 62%, 41%)
HSVhsv(196, 76%, 67%)
CMYKcmyk(76.5%, 20%, 0%, 33.3%)
CIE-LABlab(52.91, -15.67, -25.83)
CIE-LCHlch(52.91, 30.21, 238.75°)
OKLaboklab(58.74% -0.0687 -0.0725)
OKLCHoklch(58.74% 0.1 226.5)
XYZxyz(16.9319, 20.9597, 41.1757)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2888AA #AA4A28
analogous
#28AA8B #2888AA #2847AA
triadic
#2888AA #AA2888 #88AA28
tetradic
#2888AA #8B28AA #AA4A28 #47AA28
square
#2888AA #8B28AA #AA4A28 #47AA28
split-complementary
#2888AA #AA2847 #AA8B28
monochromatic
#113947 #1C6078 #2888AA #3EABD2 #6FC0DD

Accessibility & contrast

On white

4.04
#2888AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#2888AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2888AA#FFFFFF#000000##000000
##2888AA1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7685AC
Deuteranopia (green-blind)
#6479AA
Tritanopia (blue-blind)
#009293
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2888aa;
/* rgb */ color: rgb(40, 136, 170);
/* oklch */ color: oklch(58.7% 0.100 226.5);
Tailwind
colors: {
  custom: {
    50: '#76aac3',
    500: '#2888aa',
    950: '#000000',
  },
}
SCSS
$custom: #2888aa;
$custom-light: #76aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2888aa",
  "rgb": {
    "r": 40,
    "g": 136,
    "b": 170
  },
  "hsl": {
    "h": 195.692,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58743,
    "c": 0.09988,
    "h": 226.5
  },
  "luminance": 0.20962
}

Semantic roles & 50–950 ramp

primary
#2888AA
secondary
#C4816A
accent
#6D43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2888AA

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

Preview Lab → · Contrast checker → · Palette generator →

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