#28879B#28879B

#28879B is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 57.8% C 0.090 H 215.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#28879B
RGBrgb(40, 135, 155)
HSLhsl(190, 59%, 38%)
HSVhsv(190, 74%, 61%)
CMYKcmyk(74.2%, 12.9%, 0%, 39.2%)
CIE-LABlab(52.00, -20.21, -18.55)
CIE-LCHlch(52.00, 27.43, 222.55°)
OKLaboklab(57.82% -0.0737 -0.0517)
OKLCHoklch(57.82% 0.09 215)
XYZxyz(15.4529, 20.1438, 34.0777)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28879B #9B3C28
analogous
#289B75 #28879B #284D9B
triadic
#28879B #9B2887 #879B28
tetradic
#28879B #75289B #9B3C28 #4D9B28
square
#28879B #75289B #9B3C28 #4D9B28
split-complementary
#28879B #9B284D #9B7528
monochromatic
#0F323A #1B5D6A #28879B #35B1CB #66C4D7

Accessibility & contrast

On white

4.18
#28879B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#28879B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #28879B
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28879B#FFFFFF#000000##000000
##28879B1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28879b;
/* rgb */ color: rgb(40, 135, 155);
/* oklch */ color: oklch(57.8% 0.090 215.0);
Tailwind
colors: {
  custom: {
    50: '#74aab8',
    500: '#28879b',
    950: '#000000',
  },
}
SCSS
$custom: #28879b;
$custom-light: #74aab8;
$custom-dark: #000000;
JSON
{
  "hex": "#28879b",
  "rgb": {
    "r": 40,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 190.435,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.09006,
    "h": 215
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#28879B
secondary
#BD7161
accent
#6146E2
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #28879B

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

Preview Lab → · Contrast checker → · Palette generator →

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