#28788E#28788E

#28788E is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.4% C 0.083 H 219.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#28788E
RGBrgb(40, 120, 142)
HSLhsl(193, 56%, 36%)
HSVhsv(193, 72%, 56%)
CMYKcmyk(71.8%, 15.5%, 0%, 44.3%)
CIE-LABlab(46.76, -16.43, -18.96)
CIE-LCHlch(46.76, 25.09, 229.09°)
OKLaboklab(53.44% -0.0634 -0.0529)
OKLCHoklch(53.44% 0.083 219.9)
XYZxyz(12.4720, 15.8356, 27.9852)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28788E #8E3E28
analogous
#288E71 #28788E #28458E
triadic
#28788E #8E2878 #788E28
tetradic
#28788E #71288E #8E3E28 #458E28
square
#28788E #71288E #8E3E28 #458E28
split-complementary
#28788E #8E2845 #8E7128
monochromatic
#0D272F #1B505E #28788E #35A0BE #5FB9D2

Accessibility & contrast

On white

5.04
#28788E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #28788E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28788E#FFFFFF#000000##FFFFFF
##28788E1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28788e;
/* rgb */ color: rgb(40, 120, 142);
/* oklch */ color: oklch(53.4% 0.083 219.9);
Tailwind
colors: {
  custom: {
    50: '#709faf',
    500: '#28788e',
    950: '#000000',
  },
}
SCSS
$custom: #28788e;
$custom-light: #709faf;
$custom-dark: #000000;
JSON
{
  "hex": "#28788e",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 142
  },
  "hsl": {
    "h": 192.941,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53439,
    "c": 0.08255,
    "h": 219.9
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#28788E
secondary
#B76F5B
accent
#6948DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #28788E

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

Preview Lab → · Contrast checker → · Palette generator →

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