#28879F#28879F

#28879F is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.0% C 0.092 H 218.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#28879F
RGBrgb(40, 135, 159)
HSLhsl(192, 60%, 39%)
HSVhsv(192, 75%, 62%)
CMYKcmyk(74.8%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.15, -18.87, -20.63)
CIE-LCHlch(52.15, 27.96, 227.55°)
OKLaboklab(57.99% -0.0721 -0.0576)
OKLCHoklch(57.99% 0.092 218.6)
XYZxyz(15.7944, 20.2804, 35.8763)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28879F #9F4028
analogous
#289F7C #28879F #284C9F
triadic
#28879F #9F2887 #879F28
tetradic
#28879F #7C289F #9F4028 #4C9F28
square
#28879F #7C289F #9F4028 #4C9F28
split-complementary
#28879F #9F284C #9F7C28
monochromatic
#0F343D #1C5D6E #28879F #37AFCD #68C2D9

Accessibility & contrast

On white

4.15
#28879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#28879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28879F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28879F#FFFFFF#000000##000000
##28879F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7883A0
Deuteranopia (green-blind)
#68779F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #28879f;
/* rgb */ color: rgb(40, 135, 159);
/* oklch */ color: oklch(58.0% 0.092 218.6);
Tailwind
colors: {
  custom: {
    50: '#74aabb',
    500: '#28879f',
    950: '#000000',
  },
}
SCSS
$custom: #28879f;
$custom-light: #74aabb;
$custom-dark: #000000;
JSON
{
  "hex": "#28879f",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 192.101,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57993,
    "c": 0.09228,
    "h": 218.6
  },
  "luminance": 0.20282
}

Semantic roles & 50–950 ramp

primary
#28879F
secondary
#BF7664
accent
#6545E3
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #28879F

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

Preview Lab → · Contrast checker → · Palette generator →

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