#28798C#28798C

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

Color values

HEX#28798C
RGBrgb(40, 121, 140)
HSLhsl(191, 56%, 35%)
HSVhsv(191, 71%, 55%)
CMYKcmyk(71.4%, 13.6%, 0%, 45.1%)
CIE-LABlab(47.00, -17.65, -17.41)
CIE-LCHlch(47.00, 24.79, 224.60°)
OKLaboklab(53.61% -0.0653 -0.0485)
OKLCHoklch(53.61% 0.081 216.6)
XYZxyz(12.4441, 16.0179, 27.2418)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28798C #8C3B28
analogous
#288C6D #28798C #28478C
triadic
#28798C #8C2879 #798C28
tetradic
#28798C #6D288C #8C3B28 #478C28
square
#28798C #6D288C #8C3B28 #478C28
split-complementary
#28798C #8C2847 #8C6D28
monochromatic
#0D272D #1A505C #28798C #36A2BC #5EBBD1

Accessibility & contrast

On white

5.00
#28798C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#28798C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28798C
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28798C#FFFFFF#000000##FFFFFF
##28798C1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28798c;
/* rgb */ color: rgb(40, 121, 140);
/* oklch */ color: oklch(53.6% 0.081 216.6);
Tailwind
colors: {
  custom: {
    50: '#70a0ad',
    500: '#28798c',
    950: '#000000',
  },
}
SCSS
$custom: #28798c;
$custom-light: #70a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28798c",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 191.4,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53606,
    "c": 0.08133,
    "h": 216.6
  },
  "luminance": 0.16019
}

Semantic roles & 50–950 ramp

primary
#28798C
secondary
#B66B5A
accent
#6549DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #28798C

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

Preview Lab → · Contrast checker → · Palette generator →

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