#28798D#28798D

#28798D is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.6% C 0.082 H 217.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#28798D
RGBrgb(40, 121, 141)
HSLhsl(192, 56%, 35%)
HSVhsv(192, 72%, 55%)
CMYKcmyk(71.6%, 14.2%, 0%, 44.7%)
CIE-LABlab(47.04, -17.32, -17.94)
CIE-LCHlch(47.04, 24.93, 226.01°)
OKLaboklab(53.65% -0.0649 -0.05)
OKLCHoklch(53.65% 0.082 217.6)
XYZxyz(12.5182, 16.0475, 27.6319)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28798D #8D3C28
analogous
#288D6E #28798D #28468D
triadic
#28798D #8D2879 #798D28
tetradic
#28798D #6E288D #8D3C28 #468D28
square
#28798D #6E288D #8D3C28 #468D28
split-complementary
#28798D #8D2846 #8D6E28
monochromatic
#0D272E #1A505D #28798D #36A2BD #5EBBD1

Accessibility & contrast

On white

4.99
#28798D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#28798D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28798D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28798D#FFFFFF#000000##FFFFFF
##28798D1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C758E
Deuteranopia (green-blind)
#5E6B8D
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #28798d;
/* rgb */ color: rgb(40, 121, 141);
/* oklch */ color: oklch(53.6% 0.082 217.6);
Tailwind
colors: {
  custom: {
    50: '#70a0ae',
    500: '#28798d',
    950: '#000000',
  },
}
SCSS
$custom: #28798d;
$custom-light: #70a0ae;
$custom-dark: #000000;
JSON
{
  "hex": "#28798d",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 141
  },
  "hsl": {
    "h": 191.881,
    "s": 55.801,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5365,
    "c": 0.08191,
    "h": 217.6
  },
  "luminance": 0.16049
}

Semantic roles & 50–950 ramp

primary
#28798D
secondary
#B76C5A
accent
#6649DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #28798D

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

Preview Lab → · Contrast checker → · Palette generator →

#28798D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva