#2887A3#2887A3

#2887A3 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.2% C 0.095 H 222.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#2887A3
RGBrgb(40, 135, 163)
HSLhsl(194, 61%, 40%)
HSVhsv(194, 75%, 64%)
CMYKcmyk(75.5%, 17.2%, 0%, 36.1%)
CIE-LABlab(52.31, -17.52, -22.71)
CIE-LCHlch(52.31, 28.68, 232.34°)
OKLaboklab(58.17% -0.0705 -0.0635)
OKLCHoklch(58.17% 0.095 222)
XYZxyz(16.1472, 20.4215, 37.7340)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2887A3 #A34428
analogous
#28A382 #2887A3 #2849A3
triadic
#2887A3 #A32887 #87A328
tetradic
#2887A3 #8228A3 #A34428 #49A328
square
#2887A3 #8228A3 #A34428 #49A328
split-complementary
#2887A3 #A32849 #A38228
monochromatic
#103641 #1C5E72 #2887A3 #3AADCF #6BC1DB

Accessibility & contrast

On white

4.13
#2887A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#2887A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2887A3#FFFFFF#000000##000000
##2887A31.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7784A4
Deuteranopia (green-blind)
#6678A3
Tritanopia (blue-blind)
#009090
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2887a3;
/* rgb */ color: rgb(40, 135, 163);
/* oklch */ color: oklch(58.2% 0.095 222.0);
Tailwind
colors: {
  custom: {
    50: '#75aabe',
    500: '#2887a3',
    950: '#000000',
  },
}
SCSS
$custom: #2887a3;
$custom-light: #75aabe;
$custom-dark: #000000;
JSON
{
  "hex": "#2887a3",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 163
  },
  "hsl": {
    "h": 193.659,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.58172,
    "c": 0.09488,
    "h": 222
  },
  "luminance": 0.20423
}

Semantic roles & 50–950 ramp

primary
#2887A3
secondary
#C17B66
accent
#6844E4
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2887A3

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

Preview Lab → · Contrast checker → · Palette generator →

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