#28788C#28788C

#28788C is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.3% C 0.081 H 217.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#28788C
RGBrgb(40, 120, 140)
HSLhsl(192, 56%, 35%)
HSVhsv(192, 71%, 55%)
CMYKcmyk(71.4%, 14.3%, 0%, 45.1%)
CIE-LABlab(46.68, -17.10, -17.89)
CIE-LCHlch(46.68, 24.75, 226.29°)
OKLaboklab(53.35% -0.0642 -0.0499)
OKLCHoklch(53.35% 0.081 217.8)
XYZxyz(12.3232, 15.7761, 27.2015)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28788C #8C3C28
analogous
#288C6E #28788C #28468C
triadic
#28788C #8C2878 #788C28
tetradic
#28788C #6E288C #8C3C28 #468C28
square
#28788C #6E288C #8C3C28 #468C28
split-complementary
#28788C #8C2846 #8C6E28
monochromatic
#0D262D #1A4F5C #28788C #36A1BC #5EBAD1

Accessibility & contrast

On white

5.05
#28788C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#28788C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28788C
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28788C#FFFFFF#000000##FFFFFF
##28788C1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B748D
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #28788c;
/* rgb */ color: rgb(40, 120, 140);
/* oklch */ color: oklch(53.3% 0.081 217.8);
Tailwind
colors: {
  custom: {
    50: '#709fad',
    500: '#28788c',
    950: '#000000',
  },
}
SCSS
$custom: #28788c;
$custom-light: #709fad;
$custom-dark: #000000;
JSON
{
  "hex": "#28788c",
  "rgb": {
    "r": 40,
    "g": 120,
    "b": 140
  },
  "hsl": {
    "h": 192,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.08131,
    "h": 217.8
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#28788C
secondary
#B66C5A
accent
#6749DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #28788C

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

Preview Lab → · Contrast checker → · Palette generator →

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