#28798A#28798A

#28798A is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.5% C 0.080 H 214.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#28798A
RGBrgb(40, 121, 138)
HSLhsl(190, 55%, 35%)
HSVhsv(190, 71%, 54%)
CMYKcmyk(71%, 12.3%, 0%, 45.9%)
CIE-LABlab(46.92, -18.32, -16.34)
CIE-LCHlch(46.92, 24.55, 221.73°)
OKLaboklab(53.52% -0.0661 -0.0455)
OKLCHoklch(53.52% 0.08 214.5)
XYZxyz(12.2980, 15.9594, 26.4722)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28798A #8A3928
analogous
#288A6A #28798A #28488A
triadic
#28798A #8A2879 #798A28
tetradic
#28798A #6A288A #8A3928 #488A28
square
#28798A #6A288A #8A3928 #488A28
split-complementary
#28798A #8A2848 #8A6A28
monochromatic
#0C262B #1A4F5B #28798A #36A3B9 #5DBCD0

Accessibility & contrast

On white

5.01
#28798A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#28798A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28798A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28798A#FFFFFF#000000##FFFFFF
##28798A1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #28798a;
/* rgb */ color: rgb(40, 121, 138);
/* oklch */ color: oklch(53.5% 0.080 214.5);
Tailwind
colors: {
  custom: {
    50: '#70a0ac',
    500: '#28798a',
    950: '#000000',
  },
}
SCSS
$custom: #28798a;
$custom-light: #70a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#28798a",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 190.408,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.08027,
    "h": 214.5
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#28798A
secondary
#B56959
accent
#6349DE
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #28798A

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

Preview Lab → · Contrast checker → · Palette generator →

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