#2887A5#2887A5

#2887A5 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.3% C 0.096 H 223.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#2887A5
RGBrgb(40, 135, 165)
HSLhsl(194, 61%, 40%)
HSVhsv(194, 76%, 65%)
CMYKcmyk(75.8%, 18.2%, 0%, 35.3%)
CIE-LABlab(52.39, -16.84, -23.74)
CIE-LCHlch(52.39, 29.10, 234.65°)
OKLaboklab(58.26% -0.0697 -0.0665)
OKLCHoklch(58.26% 0.096 223.7)
XYZxyz(16.3278, 20.4937, 38.6852)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2887A5 #A54628
analogous
#28A584 #2887A5 #2848A5
triadic
#2887A5 #A52887 #87A528
tetradic
#2887A5 #8428A5 #A54628 #48A528
square
#2887A5 #8428A5 #A54628 #48A528
split-complementary
#2887A5 #A52848 #A58428
monochromatic
#103642 #1C5F74 #2887A5 #3BACCF #6CC1DB

Accessibility & contrast

On white

4.12
#2887A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#2887A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2887A5#FFFFFF#000000##000000
##2887A51.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7684A7
Deuteranopia (green-blind)
#6578A5
Tritanopia (blue-blind)
#009091
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2887a5;
/* rgb */ color: rgb(40, 135, 165);
/* oklch */ color: oklch(58.3% 0.096 223.7);
Tailwind
colors: {
  custom: {
    50: '#75aabf',
    500: '#2887a5',
    950: '#000000',
  },
}
SCSS
$custom: #2887a5;
$custom-light: #75aabf;
$custom-dark: #000000;
JSON
{
  "hex": "#2887a5",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 165
  },
  "hsl": {
    "h": 194.4,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.09631,
    "h": 223.7
  },
  "luminance": 0.20496
}

Semantic roles & 50–950 ramp

primary
#2887A5
secondary
#C27D67
accent
#6A44E4
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2887A5

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

Preview Lab → · Contrast checker → · Palette generator →

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