#2887AA#2887AA

#2887AA is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.100 H 227.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2887AA
RGBrgb(40, 135, 170)
HSLhsl(196, 62%, 41%)
HSVhsv(196, 76%, 67%)
CMYKcmyk(76.5%, 20.6%, 0%, 33.3%)
CIE-LABlab(52.60, -15.12, -26.30)
CIE-LCHlch(52.60, 30.34, 240.11°)
OKLaboklab(58.5% -0.0677 -0.0738)
OKLCHoklch(58.5% 0.1 227.5)
XYZxyz(16.7918, 20.6793, 41.1289)
Luminance0.2068 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2887AA #AA4B28
analogous
#28AA8C #2887AA #2846AA
triadic
#2887AA #AA2887 #87AA28
tetradic
#2887AA #8C28AA #AA4B28 #46AA28
square
#2887AA #8C28AA #AA4B28 #46AA28
split-complementary
#2887AA #AA2846 #AA8C28
monochromatic
#113847 #1C6078 #2887AA #3EAAD2 #6FC0DD

Accessibility & contrast

On white

4.09
#2887AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2887AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2887AA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2887AA#FFFFFF#000000##000000
##2887AA1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7485AC
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2887aa;
/* rgb */ color: rgb(40, 135, 170);
/* oklch */ color: oklch(58.5% 0.100 227.5);
Tailwind
colors: {
  custom: {
    50: '#76aac3',
    500: '#2887aa',
    950: '#000000',
  },
}
SCSS
$custom: #2887aa;
$custom-light: #76aac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2887aa",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 170
  },
  "hsl": {
    "h": 196.154,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.58496,
    "c": 0.10021,
    "h": 227.5
  },
  "luminance": 0.20681
}

Semantic roles & 50–950 ramp

primary
#2887AA
secondary
#C4826A
accent
#6E43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2887AA

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

Preview Lab → · Contrast checker → · Palette generator →

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