#28788F#28788F

#28788F is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 53.5% C 0.083 H 220.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#28788F
RGBrgb(40, 120, 143)
HSLhsl(193, 56%, 36%)
HSVhsv(193, 72%, 56%)
CMYKcmyk(72%, 16.1%, 0%, 43.9%)
CIE-LABlab(46.80, -16.09, -19.49)
CIE-LCHlch(46.80, 25.27, 230.45°)
OKLaboklab(53.48% -0.063 -0.0544)
OKLCHoklch(53.48% 0.083 220.8)
XYZxyz(12.5474, 15.8658, 28.3824)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28788F #8F3F28
analogous
#288F72 #28788F #28448F
triadic
#28788F #8F2878 #788F28
tetradic
#28788F #72288F #8F3F28 #448F28
square
#28788F #72288F #8F3F28 #448F28
split-complementary
#28788F #8F2844 #8F7228
monochromatic
#0D282F #1B505F #28788F #35A0BF #5FB9D2

Accessibility & contrast

On white

5.03
#28788F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#28788F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28788F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28788F#FFFFFF#000000##FFFFFF
##28788F1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7590
Deuteranopia (green-blind)
#5C6A8F
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #28788f;
/* rgb */ color: rgb(40, 120, 143);
/* oklch */ color: oklch(53.5% 0.083 220.8);
Tailwind
colors: {
  custom: {
    50: '#719faf',
    500: '#28788f',
    950: '#000000',
  },
}
SCSS
$custom: #28788f;
$custom-light: #719faf;
$custom-dark: #000000;
JSON
{
  "hex": "#28788f",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 143
  },
  "hsl": {
    "h": 193.398,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.53484,
    "c": 0.08322,
    "h": 220.8
  },
  "luminance": 0.15867
}

Semantic roles & 50–950 ramp

primary
#28788F
secondary
#B8705B
accent
#6A48E0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #28788F

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

Preview Lab → · Contrast checker → · Palette generator →

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