#28879C#28879C

#28879C is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 57.9% C 0.091 H 216.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#28879C
RGBrgb(40, 135, 156)
HSLhsl(191, 59%, 38%)
HSVhsv(191, 74%, 61%)
CMYKcmyk(74.4%, 13.5%, 0%, 38.8%)
CIE-LABlab(52.04, -19.87, -19.07)
CIE-LCHlch(52.04, 27.54, 223.82°)
OKLaboklab(57.86% -0.0733 -0.0532)
OKLCHoklch(57.86% 0.091 216)
XYZxyz(15.5373, 20.1775, 34.5218)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28879C #9C3D28
analogous
#289C77 #28879C #284D9C
triadic
#28879C #9C2887 #879C28
tetradic
#28879C #77289C #9C3D28 #4D9C28
square
#28879C #77289C #9C3D28 #4D9C28
split-complementary
#28879C #9C284D #9C7728
monochromatic
#0F333B #1C5D6B #28879C #36B0CB #67C3D8

Accessibility & contrast

On white

4.17
#28879C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#28879C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28879C
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28879C#FFFFFF#000000##000000
##28879C1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#79839D
Deuteranopia (green-blind)
#69779C
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #28879c;
/* rgb */ color: rgb(40, 135, 156);
/* oklch */ color: oklch(57.9% 0.091 216.0);
Tailwind
colors: {
  custom: {
    50: '#74aab9',
    500: '#28879c',
    950: '#000000',
  },
}
SCSS
$custom: #28879c;
$custom-light: #74aab9;
$custom-dark: #000000;
JSON
{
  "hex": "#28879c",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 190.862,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57862,
    "c": 0.09057,
    "h": 216
  },
  "luminance": 0.20179
}

Semantic roles & 50–950 ramp

primary
#28879C
secondary
#BE7362
accent
#6245E2
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #28879C

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

Preview Lab → · Contrast checker → · Palette generator →

#28879C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva